How do I selectively Receive and Apply only Hipers for the DB2 Tools via the SourceID parm?

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

Question:

When applying maintenance you may want to do only HIPERs, this can be accomplished by using a certain SOURCEID in the RECEIVE and APPLY.

How can I receive and apply only HIPERS?

Answer:

Each PTF is identified using SMP/E ++ASSIGN statements. The following SOURCEID(s) can be found within the PTFS, CAPyymm, HIPER, PRP, and SPE:

CAPyymmIdentifies that the PTF is part of preventative maintenance where yymm represents year and month that the PTF was created
HIPERIdentifies that the PTF resolves a High Impact or Pervasive problem
PRPIdentifies that the PTF resolves a PTF in Error
SPEIdentifies that the PTF contains a small programming enhancement
SPE-AFnnIdentifies that the PTF contains a Product Feature developed under the Agile methodology (where nn represents the number of the feature) on an Incremental Release.

Please review the following example JCL to RECEIVE and APPLY only HIPERs:

//SMPEAPP EXEC PGM=GIMSMP   
//SMPCSI DD DISP=SHR,DSN=* YOUR CSI *   
//SMPHOLD DD DISP=SHR,DSN=* PTFHOLD DATASET *   
//SMPPTFIN DD DISP=SHR,DSN=* PTFLIB DATASET *   
//SMPCNTL DD *   
  SET BOUNDARY(GLOBAL).   
  RECEIVE SOURCEID(HIPER). <-------   
  SET BOUNDARY(* YOUR TARGET ZONE *).   
  APPLY SOURCEID(HIPER) <------------------------   
  GROUPEXTEND   
  BYPASS(HOLDSYSTEM).