BPX1FCD (fchdir) example
The following code changes the working directory for
the task to the directory identified by FILEDESC.
For the callable service, see fchdir (BPX1FCD, BPX4FCD) — Change the working directory.
AMODE 64 callers use BPX4FCD (fchdir) example.
MVC FILEDESC,.. Directory descriptor from opendir 14
SPACE ,
CALL BPX1FCD, Change working directory +
(FILEDESC, Input: Directory file descriptor +
RETVAL, Return value: 0 or -1 +
RETCODE, Return code +
RSNCODE), Reason code +
VL,MF=(E,PLIST) ----------------------------------