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

image2021-6-23_7-42-35.png 

Steps:

  1. Type FASAMP.EMPMAST in the "FROM" Dataset or path field.
  2. Type FASAMP.PDSEV2(MEMBER1) in the "TO" Dataset or path field. You must include the member name in parentheses.
  3. Type OLD in the Disposition field.
  4. 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.

  5. Type an in the Selection criteria usage field.

    Important

    Make sure you always check this field before you press Enter. The value last used remains set from session to session.

  6. Press Enter. File-AID executes the copy process immediately and returns with a confirmation message, 1 MEMBERS COPIED.
  7. Type =in the COMMAND field of the Copy Utility Screen to jump to the Edit - Dataset Specification to edit the new Version 2 PDSE.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*