Command reference / ifs
CHDIR
Change Current Directory
Sets the current working directory for resolving relative IFS paths. CHDIR is another name for CHGCURDIR.
Allowed environments: *ALL.
Positional parameters: 1.
Parameters
DIR
Directory
Sets the path name of the directory that replaces the current working directory of the job.
Examples
CHDIR DIR(/DIRECTORY2)
Changes the current directory to the directory named DIRECTORY2.
CHDIR DIR('..')
Changes the current directory to the parent directory of the directory that contains the current directory before this command is run.
Generated from os/cl/catalog/CHDIR.json and os/cl/help/CHDIR.json.