Page History
...
Activities that populate list variables are often followed by a LOOP processing sequence directive or other constructs to process the contents of the list. Refer to Variables and Lists for more information about the use of list variables.
INPUT Parameters
DIRECTORY: Required
This parameter should contain the full path of the directory whose contents are to be listed.
For example:
...
Windows
...
C:\mydirectory
...
IBM
...
i
...
/orders/January
CONTENT: Optional
This parameter specifies whether files or directories contained in the specified directory are to be listed:
...
| Note | ||
|---|---|---|
| ||
| The ORDERBY parameter applies whether the content requested (in the CONTENT parameter) is *FILES or *DIRECTORIES. If the MAXDEPTH parameter specifes a value greater than 1 (one), ORDERBY affects the order of files or directories within each directory listed. |
OUTPUT Parameters
FILELIST
Specifies the name of a list variable that, upon successful completion, will contain a list of the files or directories that match the request.
...