Copy selected members using PDS processing options
The Copy utility can copy members of a partitioned data set based on member selection options, record selection, or both. File-AID member selection is provided by the PDS Processing Options which uses member name masks, member name ranges, and directory information such as last modified userid, and creation and modification dates to select members.
PDS Processing Options
When the FROM Dataset name field contains a partitioned dataset (PDS or PDSE) name with a member name mask or the member name is not specified, File-AID displays the PDS Processing Options screen.
When you enter a partitioned data set name and specify an * (asterisk) for member name, File-AID bypasses the PDS Processing Options screen and uses the default values as specified on the Processing Parameters screen, option 0.4, Processing Parameters Screen.
The PDS Processing Options screen is used to override the processing options defaults and specify additional member selection options. The processing options determine whether to copy the entire member, copy empty members, replace like-named members, process in JCL format, and rename members based on a mask. The additional member selection options include a member name mask and the ability to specify selection ranges for member name, last modified userid, creation date, and modification date, and the option to display a member selection list.
File-AID tailors the options that are displayed on the PDS Processing Options screen based on what you specified on the Copy Utility screen. The following table shows which options to expect.
If record selection criteria was specified on the Copy Utility screen, the selection criteria is applied after the members are selected from the Enhanced Member Selection screen.
Copy Utility PDS Processing Options
PDS Processing Option Fields | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Copy Utility Screen Information | Copy entire member | Copy empty member | Process in JCL format | Replace like-named | Rename copied | Maximum generations | Member name mask | Member name range | Last modified userid | Creation date | Modification date | Display Member |
Copying from PDS to PDS | X | X | X | X | X | X | X | X | X | |||
Copying from Version 2 PDSE to new Version 2 PDSE | X | X1 | X | X | X | X | X | X | X | X | ||
Copying from PDS to PDS | X | X | X | X | X | X | X | X | X | X | X | |
Copying from PDS to PDS | X | X | ||||||||||
Copying from PDS to PDS | X | X | X | X | ||||||||
Copying from PDS to Non-PDS | X | X | X | X | X | X | ||||||
Copying from PDS to Non-PDS | X | X | X | X | X | X | X | X | ||||
Copying from Loadlib to Loadlib | X | X | X | X | ||||||||
Copying from Loadlib to Loadlib | X | |||||||||||
Copying Loadlib to PDSE Loadlib | X | X | X | X | ||||||||
Copying Loadlib to Loadlib PDSE w/alias | X | X | X2 |
- 1 : When copying V2 PDSE member generations, Replace like-named member must be Y (yes).
- 2 : The Display member selection list prompt must be set to NO for alias to be copied.
The following figure is an inclusive example of all possible PDS processing options that can be displayed for a copy function.
PDS Processing Options Screen
Maximum generations to copy
Specify a number between 1 and the MAXGENS number for this Version 2 PDSE. Or specify 0 to copy all generations. Leave blank to only copy the current member (0 generation). For example, specify 2 to copy the current member (0), (-1) and (-2) generation members.
By specifying a number between 1 and the MAXGENS number (see Maximum Generations) for the PDSE in this field you can limit the number of generation members to be copied. When 0 (zero) is specified all generations are copied.
The remaining fields on the PDS Processing Options Screen are described in Field Descriptions.
Member Selection List
The following figure allows you to select or exclude the displayed members from further processing. Enter a Y in the Display member selection list field on the PDS Processing Options screen to display this screen.
See Member List Field Descriptions for a description of each field on this screen. See Member List Primary Commands for a list of valid primary commands.
Member S/X List Screen
Related topics