Previous Topic: Passed or Temporary Data Sets and SUBSYS

Next Topic: Temporary Data Sets and SUBSYS


Concatenated SUBSYS Data Sets

Under some circumstances, concatenated SUBSYS data sets encounter I/O errors after the first data set. To avoid this problem, code the concatenation on an associated ddname and refer to the concatenation with a single SUBSYS ddname. For example,

//INPUT     DD SUBSYS=(ZSAM,SHRK,SUPEREXP,INPUTA),
//          DCB=(......  )
//INPUTA    DD DSN=data.set.name1,DISP=SHR,
//          DCB=(......  )
//          DD DSN=data.set.name2,DISP=SHR,
//          DCB=(......  )

This method is the safest and most efficient because it avoids multiple OPENs by SAM-SI.