venkat kulkarni wrote: >Is there any way to bypass label written inside the tape and let system use >the name of tape we provide. like below.
Yes, via RACF and/or JES2 setting for your job. >We are getting below issue, while restoring BKUP.PROH19.TP dataset from PROD01 >tape. But we encountered issue because initially BKUP.PROH19.TP dataset was >backed up into TEST01 tape and then we copied TEST01 into PROD01 and now we >trying to recover data from PROD01. Are you sure your copy from TEST01 to PROD01 was 100% successfull? >Is there any way to solve this issue. TEST01 and PROD01 are VTL tape volume. Are they cataloged? If not, try BLP, not LABEL=(17,SL) >//S1 EXEC PGM=ADRDSSU,REGION=0M >//** DBACCT DATA >//SYSPRINT DD SYSOUT=* >//DASD1 DD UNIT=3390,VOL=SER=REST01,DISP=OLD >//TAPE DD UNIT=359D,DISP=(,PASS),DSN=BKUP.PROH19.TP,LABEL=(17,SL), >// VOL=SER=(PROD01) >//SYSIN DD * > RESTORE - > INDDNAME(TAPE) - > OUTDDNAME(DASD1) - > DATASET(INCLUDE(USS19.PROD.ETC)) - > RENAMEU(USS19.PROD.ETC,TRB01.USS19.PROD.ETC.PROD01) - > CATALOG - > TOL(ENQF) >/* >O/P as below. >14.46.03 JOB00070 IEF403I TRB01RS - STARTED - TIME=14.46.03 >14.46.03 JOB00070 *IEF233A M 0FA3,PROD01,,TRB01RS,S1 >14.46.03 JOB00070 IEC502E R 0FA3,TEST01,SL,TRB01RS,S1 >14.46.03 JOB00070 *IEC501A M 0FA3,PROD01,SL,,TRB01RS,S1 >14.46.03 JOB00070 *IEC514D DCK OR LBL ERR 0FA3,PROD01,TRB01RS,S1 >14.46.03 JOB00070 *65 IEC514D REPLY 'M'-UNLOAD OR 'A'-ABEND You want to RESTORE from TAPE, but you have DISP=(,PASS) for that? I am not surprised you have issues with that job. Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
