SAVEAS, SAVEASX primary commands (data)

The SAVEAS and SAVEASX primary commands (for data) save the currently exposed data in the current editor session to another member or data set.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-+-SAVEAS--+--+-------------------------------------+--------><
   '-SAVEASX-'  +-+---+-memname-+---+-----------------+   
                | '-(-'         '-)-'                 |   
                +-datasetname-+-----------+-----------+   
                |             '-(memname)-'           |   
                +-'userid.datasetname-+-----------+-'-+   
                |                     '-(memname)-'   |   
                +-rt:applid:rname---------------------+   
                '-MQ:manager:queuename----------------'   

memname
Name of member to be created.
datasetname
Name of data set to be created. 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 created.
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, Z Data Tools displays a list of matching managers to select from.
queuename
The queue to be used. If you specify a generic name, Z Data Tools displays a list of matching queues to select from.

Related tasks and examples