This section describes the FLST commands. You can type these commands anywhere on the source FLST command column or from the command line.
When you type CANCEL from the command line use the following syntax:
>>-CANCEL------------------------------------------------------><
CANCEL terminates without executing any commands in the command column.
When you type CD from the command line use the following syntax:
>>-CD--+-------+----------------------------------------------->< '-dirid-'
CD changes the current directory.
'CD TEMP'
This example changes the current directory to TEMP and updates the FLST display.
When you type COPY on the FLST command column use the following syntax:
>>-COPY--/--fileid---------------------------------------------><
COPY copies a file.
'COPY / TEST3.EXEC'
This example, executed from the command column next to TEST1.EXEC, creates a new file, TEST3.EXEC, that is identical to TEST1.EXEC.
When you type COPY from the command line use the following syntax:
>>-COPY--fileid1--fileid2--------------------------------------><
'COPY TEST1.EXEC TEST3.EXEC'
This example, executed from the command line, creates a new file (TEST3.EXEC) that is identical to TEST1.EXEC.
When you type DELETE on the FLST command column use the following syntax:
>>-DELETE------------------------------------------------------><
DELETE deletes a file.
When you type DELETE from the command line use the following syntax:
>>-DELETE--fileid----------------------------------------------><
'DELETE TEST1.EXEC'
This example, executed from the command line, deletes file TEST1.EXEC.
When you type DOWN from the command line use the following syntax:
>>-DOWN--+---+------------------------------------------------->< '-n-'
DOWN scrolls down one or more lines.
'DOWN 5'
This example scrolls forward through the list five lines.
When you type END from the command line use the following syntax:
>>-END---------------------------------------------------------><
END executes all commands you typed, then terminates when END is typed on the command line or used as a PF key.
When you type EXEC on the FLST command column use the following syntax:
>>-EXEC--+--------------+-------------------------------------->< '-/--parameter-'
EXEC executes the exec, then terminates.
'EXEC / PARMS'
This example, executed on the command column next to TEST3.EXEC, executes exec TEST3.EXEC and passes PARMS as the argument.
When you type EXEC from the command line use the following syntax:
>>-EXEC--fileid--+-----------+--------------------------------->< '-parameter-'
'EXEC TEST3 PARMS'
This example executes exec TEST3.EXEC and passes PARMS as the argument.
When you type FLST from the command line use the following syntax:
>>-FLST--+-------+--------------------------------------------->< '-dirid-'
FLST calls the file list utility.
'FLST'
This example displays the file list for the member of the current working directory.
See REXX/CICS File System for more information about the REXX File System.
When you type MACRO from the command line use the following syntax:
>>-MACRO--fileid-----------------------------------------------><
MACRO calls a macro.
'MACRO POOL1:\USERS\USER1\TEST'
This example calls the macro, POOL1:\USERS\USER1\TEST.EXEC.
Macros have the ability to make calls to the REXX/CICS FLST server. Any command that can be entered from the command line of the FLST can be run from a macro.
When you type PFKEY from the command line use the following syntax:
>>-PFkey--number--+------+------------------------------------->< '-text-'
PFKEY sets or processes a program function (PF) key.
'PFKEY 3 quit'
'PFKEY 3'
This example first sets PFKEY 3 to quit and then processes the PF key.
If you specify text, the PF key is set with the text. If you do not specify text, the PF key is processed.
When you type REFRESH on the FLST command column use the following syntax:
>>-REFRESH-----------------------------------------------------><
REFRESH refreshes the file list.
'REFRESH'
This example refreshes the file list for the member of the current working directory.
When you type RENAME on the FLST command column use the following syntax:
>>-RENAME--/--fileid-------------------------------------------><
RENAME renames a file.
'RENAME / TEST4.EXEC'
This example, executed from the command column next to TEST3.EXEC, renames TEST3.EXEC to TEST4.EXEC.
When you type RENAME from the command line use the following syntax:
>>-RENAME--fileid1--fileid2------------------------------------><
'RENAME TEST3.EXEC TEST4.EXEC'
This example, executed from the command line, renames file TEST3.EXEC to TEST4.EXEC.
When you type SORT from the command line use the following syntax:
.-DT-----. >>-SORT--+--------+-------------------------------------------->< +-+----+-+ | '-FN-' | +-+----+-+ | '-FT-' | +-+----+-+ | '-AT-' | +-+----+-+ | '-RC-' | '-+----+-' '-SZ-'
SORT sorts the file list.
'SORT FN'
This example sorts the file list by file name.
When you type SYNONYM from the command line use the following syntax:
>>-SYNONYM--syn--+---------+----------------------------------->< '-command-'
SYNONYM assigns a command action to any other valid command.
'SYNONYM DISCARD RFS DELETE'
This example makes DISCARD equivalent to the RFS command DELETE.
When you type UP from the command line use the following syntax:
>>-UP--+---+--------------------------------------------------->< '-n-'
UP scrolls up one or more lines.
'UP 5'
This example scrolls backward through the list five lines.