z/OS Using REXX and z/OS UNIX System Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


directory()

z/OS Using REXX and z/OS UNIX System Services
SA23-2283-00

Read syntax diagramSkip visual syntax diagram
>>-directory--(--+--------------+--)---------------------------><
                 '-newdirectory-'      

Function

Returns the full path name to the current directory, first changing it to newdirectory if the argument is supplied and you have access to that directory.

Parameters

newdirectory
An absolute or relative path name for a directory.

Example

To change the current directory to /u/ehk:
call directory '/u/ehk' 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014