IEBCOPY

File 17
Op-Sys z/OS
Statement PROCESS
Task Run the IEBCOPY utility under the Entire System Server and build input cards for IEBCOPY. Knowledge of IEBCOPY syntax is not required.

Common Fields for all Operating Systems

Dictionary Field Name F/L Mu DE Remarks
ERROR-CODE N3      
ERROR-TEXT A58      
NODE N5   D  
NODE-NAME A16   D  
FROM-DSNAME A54   D Required.
FROM-MEMBER A10   D Required.
FROM-VOLSER A6   D Required if dataset is not cataloged.
FROM-PASSWORD A8   D Required if dataset is password protected.
TO-DSNAME A54   D Required.
TO-MEMBER A10   D  
TO-VOLSER A6   D Required if dataset is not cataloged.
TO-PASSWORD A8   D Required if dataset is password protected.
REPLACE A3   D  
LINE A121   D  
COMPLETION-CODE B2   D  

Supported for Compatibility

Dictionary Field Name F/L Mu DE Remarks
IN-DSNAME A54   D  
IN-MEMBER A10   D  
IN-VOLSER A6   D  
IN-PASSWORD A8   D  
OUT-DSNAME A54   D  
OUT-MEMBER A10   D  
OUT-VOLSER A6   D  
OUT-PASSWORD A8   D  

Relevant Error Codes

Code Text z/OS
778 Not APF authorized X
551 MEMBER missing X

Field Descriptions

Field Name Type/Length Operating System
COMPLETION-CODE (B2)  

IEBCOPY completion code.

Field Name Type/Length Operating System
FROM-DSNAME (A54)  

Fully qualified input dataset name.

Field Name Type/Length Operating System
FROM-MEMBER (A10)  

Name of member to be copied. Select all members in the dataset by specifying an asterisk *.

Field Name Type/Length Operating System
FROM-PASSWORD (A8)  

Password for input dataset if the dataset is password protected.

Field Name Type/Length Operating System
FROM-VOLSER (A6)  

Volume serial number of input dataset. Required if the dataset is not cataloged.

Field Name Type/Length Operating System
LINE (A121)  

IEBCOPY output line.

Field Name Type/Length Operating System
REPLACE (A3)  

Specifies whether the member in the output dataset is to be replaced. Possible options:

Option Explanation
NO Do not replace member if it already exists in the output dataset.
YES Replace member if it already exists in the output dataset.
Field Name Type/Length Operating System
TO-DSNAME (A54)  

Fully qualified output dataset name.

Field Name Type/Length Operating System
TO-MEMBER (A10)  

Name to be assigned to the member in the output dataset. If omitted, the output member name is used.

Field Name Type/Length Operating System
TO-PASSWORD (A8)  

Password for output dataset if the dataset is password protected.

Field Name Type/Length Operating System
TO-VOLSER (A6)  

Volume serial number of output dataset. Required if the dataset is not cataloged.

Default Order of Data Returned

Each line of the output listing is presented in order.