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


exists()

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

Read syntax diagramSkip visual syntax diagram
>>-exists--(--filename--)--------------------------------------><

Function

Returns the full path name for the specified file. If the file does not exist, the function returns a null string.

Parameters

filename
A string that names a file

Example

To print the full path name for the file myfile:
say exists('myfile') 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014