Previous Topic: MOVE CommandNext Topic: SAVE Command


REPLACE Command

The ELIPS edit REPLACE command lets you replace a CA Librarian member or partitioned data set member or a sequential data set with all or part of the data from the current edit session.

An existing CA Librarian member is updated (creating a new level, when archived). A nonexistent CA Librarian member is added. An existing PDS member is overwritten. A nonexistent PDS member is added.

A sequential data set must exist and is overwritten.

Specify the lines to use for the new member with:

This command has the following format:

REPLACE [member] [.strt .end] [PSWD(pswd)]

All parameters are optional.

member

The member name to create on the CA Librarian library currently being edited.

.strt

Starting label name.

.end

Ending label name. See the section on EDIT Labels and Ranges for a description of the use of line labels and ranges.

pswd

The CA Librarian password for the member to replace.

---------------------- ELIPS EDIT - CREATE/REPLACE ---------------------------- COMMAND ===> “CURRENT” DATA SET: LIBR.LIBCCF.TEST2($PROG) TO ISPF OR LIBRARIAN LIBRARY: PROJECT ===> GROUP ===> TYPE ===> MEMBER ===> PSWD ===> (LIBRARIAN MEMBER - IF REQUIRED) MCD ===> (LIBRARIAN MEMBER - IF REQUIRED) TO OTHER ISPF OR LIBRARIAN LIBRARY: DATA SET NAME ===> EXPAND INCLUDES ===> NO REPLACE SLAT VARS ===> NO Press ENTER key to CREATE/REPLACE. Enter END command to cancel.

When you enter the REPLACE command without a member name, the extended replace panel displays. You can specify a partitioned data set or CA Librarian library either in the PROJECT/GROUP/TYPE or OTHER field. If the member name is blank, the current member name is used. When you specify EXPAND INCLUDES as YES, any CA Librarian -INC statements are expanded from the CA Librarian library currently being edited as the member is replaced. When you specify REPLACE SLAT VARS as YES, any CA Librarian Source-Load Audit Trail variables contained in the data are replaced with the current member information.