The LIST command returns a working list of absolute file names in a directory.
The working list to return the file names must be defined with a single field long enough to contain the absolute file name.
If no DIR keyword is provided and the current directory has not been changed using other commands, the default JSM instance directory will be searched. Sub-directories are not searched.
If no EXT keyword is provided all files in the directory will be searched by default.
Syntax:
|
Example
LIST DIR(/folder) EXT(txt) #WRKLST(NAME)