Previous Topic: IBM BTLS - Synchronize the IBM ATL and TMCNext Topic: IBM BTLS - Scratch Cartridges


IBM BTLS - Eject Cartridges

Once a list of volumes to be sent off-site has been created, it must be "fed" as input to IDCAMS. The category may be either XEJECT (for the convenience station) or XEJECTB (for the bulk station).

The following is an example:

//STEP1    EXEC PGM=IDCAMS
//SYSPRINT DD   SYSOUT=A
//LIBIN    DD   DSN=VOLUME.LIST.TO.BE.EJECTED,DISP=OLD
//SYSIN    DD   *
  LIBRARY SETCAT UNIT(123) CATEGORY(XEJECT)
/*

Note: The LIBIN file must be a Fixed Block file, any record length, with the VOLSER(s) starting in column 1. You can use CA Earl to generate this list.