STACK Function

The STACK function takes a number of specified tapes, either labeled or unlabelled, and copies data from all tapes onto a single stacked tape.

STACK also supports heterogeneous media translation. This occurs when a tape is stacked to a tape media that is different from the media of the original tape volume.

Examples

The following are examples of commands using the STACK function:

  • U TSU STACK UNITNO=91 (FIRST), “J1”, SERIALNO=1 (THIRD) TO UNITNO=94

  • U TSU STACK “J1”, UNITNO=92 (COMMENT), J2 TO “MYSN”

  • U TSU OUTFILE=PRINTER STACK UNITNO=91 TO UNITNO=93

  • U TSU OUTFILE=”(TRANSFER)STACK/OUTPUT ON MISC.” STACK J1 TO “MYSN”

  • U TSU STACK 001-004 TO “MYSN”

  • U TSU STACK UNITNO=91, UNITNO=92 TO UNITNO=93

  • U TSU STACK UNITNO=91* TO UNITNO=93

Sample Run

The following is an example of the output of a STACK run. The tape MYSTK was assigned a serial number and scratched before this utility ran. No user intervention was required during this example.

U TSU STACK UNITNO=96 (FEW SMALL FILES HERE IN), UNITNO=93,UNITNO=94 
 (UL TAPE) TO 
#RUNNING 62017
CREATING STACKED TAPE [MYSTK ] ON MT95
SUCCESSFULLY STACKED [JL1   ] FROM MT96 (FEW SMALL FILES HERE)
SUCCESSFULLY STACKED [JL2   ] FROM MT93
SUCCESSFULLY STACKED (UNLABELED) FROM MT94 (UL TAPE)
STACK COMPLETED TO STACKED TAPE [MYSTK ] ON MT95
#ET=25.7 PT=0.4 IO=14.7

The following is the P MT listing following the previous STACK example. The stacked tape is labeled MYSTK and has the file name TSU/STACKEDTAPE.

P MT
---------------------------------- MT STATUS -------------------
   93 H      [JL2   ] 38000  #1 1:0 <10/29/2003> JL2/FILE000
   94*H      38000     UNLABELED
   95H      [MYSTK ] 38000  #1 1:0 <11/21/2003> TSU/STACKEDTAPE
   96 H      [JL1   ] 38000  #1 1:0 <10/27/2003> JL1/FILE000