z/OS DFSMShsm Implementation and Customization Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Directing DFSMShsm temporary tape data sets to tape

z/OS DFSMShsm Implementation and Customization Guide
SC23-6869-01

Programming interface information

Programming interface information It is often efficient to direct tape allocation requests to DASD when the tapes being requested are for temporary data sets. However, DFSMShsm’s internal naming conventions request temporary tape allocations for backup of DFSMShsm control data sets. Therefore, it is important to direct DFSMShsm tape requests to tape. End of programming interface information

End of programming interface information

If your ACS routines direct temporary data sets to DASD, DFSMShsm allocation requests for temporary tape data sets should be allowed to be directed to tape as requested (see the sample ACS routine in Figure 1). To identify temporary tape data sets, test the &DSTYPE variable for “TEMP”, and test the &PGM variable for “ARCCTL”.

Figure 1. Sample ACS Routine That Prevents DFSMShsm Temporary Tape Requests from being Redirected to DASD
/***********************************************************************/
/* SAMPLE ACS ROUTINE THAT PREVENTS DFSMSHSM TEMPORARY (SCRATCH TAPE)  */
/* TAPE REQUESTS FROM BEING REDIRECTED TO DASD.                        */
/***********************************************************************/
 
                   :
                   :
                   :
 
/***********************************************************************/
/*                SET FILTLIST FOR PRODUCTION DATA SETS                */
/***********************************************************************/
 
 FILTLIST EXPGMGRP INCLUDE('ARCCTL')
 
                   :
                   :
                   :
 
/***********************************************************************/
/* FILTER TEMPORARY (SCRATCH TAPE) TAPE REQUESTS INTO DFSMSHSM         */
/* REQUESTS AND NON-DFSMSHSM REQUESTS.  SEND DFSMSHSM REQUESTS TO TAPE */
/* AS REQUESTED.  SEND NON-DFSMSHSM REQUESTS TO DASD.                  */
/***********************************************************************/
 
IF (&DSTYPA = 'TEMP' && &UNIT = &TAPE_UNITS && &PGM ^= &EXPGMGRP)
 
   THEN DO
          SET &STORCLAS = 'BASE'
          WRITE '****************************************************'
          WRITE '* THIS TAPE DATA SET HAS BEEN REDIRECTED TO TAPE   *'
          WRITE '****************************************************'
       END 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014