Previous Topic: Check In JCLNext Topic: Check Out JCL


Create JCL for Subset Check In

Follow these steps:

  1. Modify jobcard to be valid for your site.
  2. Make sure that the job will run on the DB2 subsystem where the Host Encyclopedia resides.
  3. Change 'YOUR.CLIST.LIBRARY' on the //SYSPROC statement to the dataset name of the CLIST library for your Host Encyclopedia.
  4. Modify PROF PREFIX(TSOID) line to contain a TSO ID that is authorized to check in a model to the encyclopedia. If you are checking in a subset, the TSOID should be the same TSO ID that has the subset checked out or TSOID of the Host Encyclopedia administrator.
  5. Modify the DATASET parameter of the //SYSTSIN DD statement:
    1. % parameter-If you are uploading the model from a Windows workstation, change the %IEFUP to %IEFUW
    2. DATASET-The dataset that contains the UPDATE.TRN file.
    3. The TSO ID specified in 'PROF PRFIX(TSOID)' will automatically prefix the 'IEF.DATASET' name. Do not specify the TSO ID in this parameter. If you omit this parameter, the dataset name defaults to <tsoid>.IEF.TRAN.
      //*************************************************
      //IEFUP JOB 'ACCTING INFO','YOUR NAME', *
      // TIME=(1400),MSGCLASS=W,NOTIFY=TSOID,REGION=4096K *
      //IEF EXEC PGM=IKJEFT01,DYNAMNBR=25
      //SYSPRINT DD SYSOUT=*
      //PRINTER DD SYSOUT=*
      //SYSTSPRT DD SYSOUT=*
      //SYSOUT DD SYSOUT=*
      //SYSPROC DD DSN=YOUR.CLIST.LIBRARY,DISP=SHR
      //SYSTSIN DD *
      PROF PREFIX(TSOID)
      %IEFUP +
      TRFILE('IEF.DATASET')
      //*
      //
      //***************************************************