For data sets processed with BSAM, you can use CLOSE TYPE=T with
the following restrictions:
- The DCB for the data set you are processing on a direct access
device must specify either DSORG=PS or DSORG=PSU for input processing,
and either DSORG=PS, DSORG=PSU, DSORG=PO, or DSORG=POU for output
processing. (You cannot specify the REREAD option if DSORG=PO or DSORG=POU
is specified. The REREAD restriction prohibits the use of temporary
close following or during the building of a BDAM data set that is
allocated by specifying BSAM MACRF=WL.)
- The
DCB must not be open for input to a member of a PDS. The CLOSE TYPE=T
operation is permitted against a PDS when the DCB has been opened
for INPUT mode and the PDS directory is being read.
- If you open the data set for input and issue CLOSE TYPE=T with
the LEAVE option, the volume will be repositioned only if the data
set specifies DSORG=PS or DSORG=PO.
- CLOSE TYPE=T is ignored for DUMMY data sets.