REPLACE, REPLACEX primary commands

The REPLACE and REPLACEX primary commands replace another member or data set with specified lines from the data in the current editor session.

Syntax


1 REPLace
1 REPLACEX
1 REPLX
1? ?(memname?)
1? datasetname?(memname)
1? 'userid.datasetname?(memname)'
1 rt:applid:rname
1 MQ:manager:queuename
3? from_label-to_label
memname
Name of member to be replaced.
datasetname
Name of data set to be replaced. The default High Level Qualifier (HLQ) is used. Typically, the default is the TSO PREFIX for your user ID.
userid.datasetname
Name of fully-qualified data set to be replaced.
rt:applid:rname
You can specify a CICS® Transient Data Queue or CICS® Temporary Storage Queue in place of a data set name, where:
rt
Resource type. Valid values are:
TD
For a Transient Data Queue.
TS
For a Temporary Storage Queue.
applid
The VTAM® applid of the CICS® system.
rname
The name of the resource.
MQ:manager:queuename
You can specify a MQ queue, where:
manager
The MQ manager to be used. If you specify a generic name, File Manager displays a list of matching managers to select from.
queuename
The queue to be used. If you specify a generic name, File Manager displays a list of matching queues to select from.
from_label
Label indicating first line to be copied into the member or data set.
to_label
Label indicating last line to be copied into the member or data set.

Availability

Related tasks and examples