Receiving PDSE data sets

RECEIVE supports PDSE Data Libraries and PDSE Program Libraries. Depending on the user's specifications and on the level of MVS/DFP or DFSMS, conversion between PDSEs and PDSs, and PDSs and PDSEs, are performed implicitly. Program Objects which are executable programs stored as members of a PDSE Program Library, are subject to some restrictions when conversions to other data set types are attempted. When executing the TRANSMIT and RECEIVE commands, these restrictions prevent invalid Program Objects from being accepted.

When a PDS or PDSE is sent with the TRANSMIT command, the IEBCOPY utility first copies the data set to an intermediate sequential file. Control information is added and the data set is sent. When it is received, the control information is used to determine the characteristics of the original data set so that a new data set can be allocated with the proper size and of the same type. IEBCOPY is then used to reload the PDS or PDSE. Since there are restrictions when receiving Program Objects, the receiving terminal user gets assistance by means of a message about the data set characteristics of the incoming file. The user is then asked to enter the restore parameters.

Table 1 shows all combinations of source and target data sets and how they are handled by TRANSMIT and RECEIVE.

Table 1. Combinations of source and target data sets
  TARGET
Output data set Output data set Output data set Output data set No output data set specified
SOURCE Sequential File PDS Data Library Program Library PDSE is fully supported Only Data Library is supported PDSE is not supported
Sequential File Sequential File PDS member Data Library member INMR155I Sequential File Sequential File Sequential File
PDS Sequential File * PDS Data Library INMR156I PDS PDS PDS
Data Library Sequential File * PDS Data Library INMR157I Data Library Data Library PDS
Program Library INMR158I INMR158I INMR158I Program Library Program Library INMR159I INMR159I
* PDS member or Data Library member was transmitted with the SEQ option.
INMR15xI is the error message number resulting from the user request.