RENAME line command

The RENAME line command renames a data set or a member.

Usage notes

RENAME can be used as a line command or, when preceded by an item number, as a main command.

RENAME does not accept a pattern in the member field.

Examples

Command   Member   Num. Data Set Names/Objects  Volume
--------  -------- ---- ----------------------- ------
RENAME                2 'ACCOUNTS.JONES.COBOL'
R                     3 'ACCOUNTS.TEST.COBOL'   TST001
R          ACCMAIN    4 'ACCOUNTS.TEST.COBOL'