Copying "FROM" EMPMAST "TO" PDSEV2
The last data set you referenced in any File-AID function or utility is automatically displayed in the FROM dataset or path field. The TO dataset or path field retains the last data set or path you specified in the Copy utility.
You must identify the FROM dataset and the TO dataset and whether or not you want to use selection criteria (Selection criteria usage field). You can choose to run your copy online at your terminal or in batch by specifying the processing option in the Process online or batch field.
In this example, specify N in the Selection criteria usage field to copy all records in the online copy process.
Copy Utility Screen
Steps:
- Type FASAMP.EMPMAST in the "FROM" Dataset or path field.
- Type FASAMP.PDSEV2(MEMBER1) in the "TO" Dataset or path field. You must include the member name in parentheses.
- Type OLD in the Disposition field.
Type an O in the Process online or batch field.
If you specify to run the copy in batch, File-AID displays the standard JCL Specification screen where you can define the batch processing options.
Type an N in the Selection criteria usage field.
- Press Enter. File-AID executes the copy process immediately and returns with a confirmation message, 1 MEMBERS COPIED.
- Type =2 in the COMMAND field of the Copy Utility Screen to jump to the Edit - Dataset Specification to edit the new Version 2 PDSE.