PDS Support
The Platform Server supports transfers of libraries between z/OS systems.
- Transfer of individual members.
- Transfer of complete libraries.
- Transfer of members with wildcard.
- Renaming of members that are transferred.
- Transfer of members between PDS and PDS/E datasets.
- Transfer of LOADLIBs between PDS datasets.
- All member directory information is sent along with the member.
- Alias members are fully supported.
- Dataset allocation attributes are sent to the receiving system.
- Dataset allocation attributes can be overridden.
Restrictions to PDS Support
See the following two restrictions to Platform Server PDS support:
- The Platform Server will not write data to a PDS/E program library.
- The Platform Server will not send an alias alone without the actual member.
Additional Batch Parameters for Library Support
The following two additional batch parameters are added for library support:
DATASET_TYPE=LIBRARYInforms the receiver of the file that if a dataset is to be created, a PDS/E must be created. If this parameter is not set, a PDS is created at the remote end.
ALLOC_DIR=directory_block_numberDefines the number of directory blocks that will be allocated when a file is created. This parameter overrides the local dataset attributes that are sent to the system which creates the dataset.
Generic/Wildcard Support for Members
- The asterisk (*) denotes a generic member.
- If a PDS is specified without a member name, all members are sent.
FILE=MY.PDSis the same asMY.PDS(*).- Question mark (?) is the wildcard character. It can be used with characters of a member and with the generic character (*).
See the following examples of generic member or wildcard support:
Example 1:
FILE=MY.PDS(abc*)
REMOTE_FILE=YOUR.PDS(WXYZ*)
All files starting with ABC will be sent to the remote system. When the files are written, the first 4 characters are replaced by WXYZ.
Example 2:
FILE=MY.PDS(???TEST?)
REMOTE_FILE=YOUR.PDS
Members in which characters 4 to 7 are TEST will be sent. The member names on the remote system are the same as on the local system.
Alias Support
- When a full library, or partial library transfer is specified, all members and aliases that match the selection criteria will be sent to the remote system.
- When a specific member is sent, that member, and all aliases of that member will be sent to the remote system.
Examples of Sending PDS Files
PROCESS SEND DSN=MY.LOCAL.PDSS(ABC) REMOTE_FILE=YOUR.PDSS NODE=REMOTE
Sends member ABC to node REMOTE member ABC.PROCESS SEND DSN=MY.LOCAL.PDS(ABC) REMOTE_FILE=YOUR.PDS(XYZ) NODE=REMOTE
Sends member ABC to node REMOTE member XYZ.PROCESS SEND DSN=MY.LOCAL..PDS REMOTE_FILE=YOUR..PDS DATASET_TYPE=LIBRARY NODE=REMOTE
Sends all members of a PDS to a PDSE on node REMOTE.PROCESS SEND DSN=MY.LOCAL.PDS(???PROD*) REMOTE_FILE=YOUR.PDS(???TEST) DATASET_TYPE=LIBRARY NODE=REMOTE
Sends selected members of a PDS to a PDSE on node REMOTE. Changes characters 3 to 6 from PROD to TEST when writing the members.