Roach, Dennis (N-GHG) wrote: >The first physical file on a standard labeled tape is the label. It is >lrecl=blksize=80. The first record is the VOL1 header. The second record >is the HDR1, which describes file 2 on the tape. >The second physical file on the tape is the first user file. > > >> From: Rafa Pereira >> >> John Kelly wrote: >> >> >Been a while since I did stand alone DSS restores. I see that DSS now has >> >a FILE parameter which can specify the file number from the beginning of >> >the tape. I would assume the number is tape marks, ie with standard label >> >tape file 1 would be FILE(2). Does anyone know, rather than guess like I >> >did? >> >> IIRC, with standard label tapes, the value in the FILE parameter corresponds >> to the file sequence number of the dataset within the tape. So, the first >> dataset in the tape would be FILE(1), which is the default.
Maybe an example can be useful to illustrate the point. Let's suppose that we take a DUMP of three DASDs using DFSMSdss, and store them in a TAPE. The output DDs used could look like the following ones (only the relevant parameters are shown): //TAPE01 DD DSN=TAPE.DUMP.DASD01, // VOL=SER=T00000,LABEL=(1,SL), (etc) //TAPE02 DD DSN=TAPE.DUMP.DASD02, // VOL=SER=T00000,LABEL=(2,SL), (etc) //TAPE03 DD DSN=TAPE.DUMP.DASD03, // VOL=SER=T00000,LABEL=(3,SL), (etc) Now, we can restore any of the three DASD volumes with stand-alone RESTORE using the FILE parameter with values 1 (default), 2 and 3: RESTORE FRMDEV(TAPE) FRMADR(xxxx) TOADR(yyyy) NOVERIFY will restore DASD01. RESTORE FRMDEV(TAPE) FRMADR(xxxx) TOADR(yyyy) NOVERIFY FILE(2) will restore DASD02. And RESTORE FRMDEV(TAPE) FRMADR(xxxx) TOADR(yyyy) NOVERIFY FILE(3) will restore DASD03. So, using standard labels, the value you specify in the FILE parameter of DFSMSdss RESTORE stand-alone matches the value specified in the LABEL=(nnnn,SL) parameter in the DFSMSdss DUMP job. You don't have to take into account the volume and/or dataset labels within the tape when determining the FILE value to use. HTH. Rafa. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

