What JCL may be used to RECEIVE and APPLY an apar for the Pan/SQL product

Document ID : KB000050019
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When installing a Pan/SQL APAR such as RO05809, what is the JCL which may be used to Receive and Apply this APAR?

Solution:

  1. Sample JCL for a RECEIVE using the default SMP/E OPTIONS entry

    Where ROxxxxx needs to be changed to the Pan/SQL APAR which is to be received.
     //PSDBJM1 JOB (########),'SMP/E RECEIVE',        // CLASS=A,MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID  //PROCLIB DD DISP=SHR,DSN=your.proclib.containing.CB2ASMPE.proc  //************************************************************** //* PERFORM THE SMP/E RECEIVE - THE 'RECEIVE' WILL COPY THE ** //* MCS STATEMENTS OF THE SELECTED SYSMODS FROM THE SMPPTFIN ** //* DATASET INTO THE SMPPTS DATASET. THE GLOBAL ZONE OF THE ** //* CSI WILL ALSO BE UPDATED WITH THE NAMES OF THE SYSMODS ** //* WHICH HAVE BEEN RECEIVED. ** //* ** //* EXPECTED RETURN CODE: 00 ** //************************************************************** //RECEIVE EXEC CB2ASMPE //* //* //SMPPTFIN DD DSN=your.pansql.r24c.smpptfin(ROxxxxx), // DISP=SHR //* //* =======> Define SMP/E Control Statements //* //SMPCNTL DD * SET BDY(GLOBAL) OPTIONS(CAIOPT). RECEIVE SELECT ( ROxxxxx ) SYSMODS . /* //
  2. Sample JCL for APPLY using the default CA-Pan/SQL Target Zone name

    Where ROxxxxx needs to be changed to the Pan/SQL APAR which is to be applied.
     //PSDBJM2 JOB (########),' APPLY',        // CLASS=A,MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID  //PROCLIB DD DISP=SHR,DSN=your.proclib.containing.CB2ASMPE.proc  //************************************************************** //* PERFORM THE SMP/E APPLY PROCESSING - THE 'APPLY' WILL ** //* INSTALL THE SELECTED SYSMODS INTO THE APPROPRIATE TARGET ** //* LIBRARIES. ** //* ** //* EXPECTED RETURN CODE: 04 ** //************************************************************** //APPLY EXEC CB2ASMPE //* //* //* =======> Define SMP/E Control Statements //* //SMPCNTL DD * SET BDY(CAITGT) OPTIONS(CAIOPT). APPLY SELECT ( ROxxxxx ) NOJCLR. /* //
  3. Please also see informational APAR #: QO36977 under Support Online.