Previous Topic: Unload into a New Data Set from Tape

Next Topic: Installation JCL


Unload into an Existing Data Set from Tape

If dsnpref.NMC1.CC2DJCL exists from a previous installation at the current release level, unload the installation software from tape into the existing data set.

Follow these steps:

  1. Create an unload job by copying the following JCL:
    //jobname  JOB ..............
    //STEP1   EXEC PGM=IEBCOPY
    //SYSPRINT DD  SYSOUT=* 
    //SYSUT1   DD  DSN=CAI.SAMPJCL,
    //             DISP=OLD,UNIT=?device-in,VOL=SER=?tapeser,
    //             LABEL=(1,SL,EXPDT=98000)
    //SYSUT2   DD  DSN=?dsnpref.NMC1.CC2DJCL,
    //             DISP=OLD
    //SYSIN    DD  *
      COPY I=((SYSUT1,R)),O=SYSUT2
      COPY I=((SYSUT2,R)),O=SYSUT2
    /*
    
  2. Replace the statements prefixed with a question mark (?) with your own values as follows:
    ?device-in

    Specifies the tape drive unit to mount the tape.

    ?tapeser

    Specifies the tape volume serial number in the form C2D76x. The value for this release is C2D760.

    ?dsnpref

    Specifies the data set prefix in the previous installation.

  3. Submit and run the job.
  4. Verify that the job successfully completed.