Examples of Sending PDS Files

The following examples show how to send PDS files.

Example 1: sending member ABC to node REMOTE member ABC:

PROCESS SEND
		DSN=MY.LOCAL.PDS(ABC)
		REMOTE_FILE=YOUR.PDS
		NODE=REMOTE

Example 2: sending member ABC to node REMOTE member XYZ:

PROCESS SEND
		DSN=MY.LOCAL.PDS(ABC)
		REMOTE_FILE=YOUR.PDS(XYZ)
		NODE=REMOTE

Example 3: sending all members of a PDS to a PDSE on node REMOTE:

PROCESS SEND
		DSN=MY.LOCAL.PDS
		REMOTE_FILE=YOUR.PDS
		DATASET_TYPE=LIBRARY
		NODE=REMOTE

Example 4: sending selected members of a PDS to a PDSE on node REMOTE and changing characters 3 - 6 from PROD to TEST when writing the members:

PROCESS SEND
		DSN=MY.LOCAL.PDS(??PROD*)
		REMOTE_FILE=YOUR.PDS(??TEST)
		DATASET_TYPE=LIBRARY
		NODE=REMOTE