Note, Refresh, Example – IBM SC34-5764-01 User Manual

Page 292: Rename, Operands

Advertising
background image

Note

If you specify text, the PF key is set with the text. If you do not specify text, the PF key is processed.

REFRESH

When you type REFRESH on the FLST command column use the following syntax:

REFRESH

REFRESH refreshes the file list.

Example

'REFRESH'

This example refreshes the file list for the member of the current working directory.

RENAME

When you type RENAME on the FLST command column use the following syntax:

RENAME

/

fileid

RENAME renames a file.

Operands

fileid

specifies the new file ID.

Note: If fileid already exists, it is replaced.

Example

'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

Operands

fileid1

specifies the file ID of the file the command acts on.

fileid2

specifies the new file ID.

Note: If fileid2 already exists, the contents of fileid1 replaces it.

Example

'RENAME TEST3.EXEC TEST4.EXEC'

This example, executed from the command line, renames file TEST3.EXEC to TEST4.EXEC.

File System

270

CICS TS for VSE/ESA: REXX Guide

Advertising