Disposition end processing of volume

Disposition of the tape or direct access volume containing a data set is controlled by coding:
   //ddname  DD  VOLUME=(PRIVATE,RETAIN,...),...
   //ddname  DD  VOLUME=(PRIVATE,...),...
   //ddname  DD  VOLUME=(,RETAIN,...),...  

RETAIN support

RETAIN can be specified only for tape.

In a JES3 system, RETAIN is supported only by MVS™. If coded on a DD statement for a data set on an MVS-managed tape device, the system designates the volume as retained. If coded on a DD statement for a data set on a JES3-managed tape device, JES3 ignores the RETAIN parameter when issuing KEEP/RETAIN messages and when performing unallocation at the end of the job. However, if RETAIN is coded for a data set on a JES3-managed tape device and the tape volume is to be shared with a later step, JES3 designates the volume as retained.