How to selectively Receive and Apply only Hipers for the Db2 Tools via the SOURCEID parm
search cancel

How to selectively Receive and Apply only Hipers for the Db2 Tools via the SOURCEID parm

book

Article ID: 22305

calendar_today

Updated On:

Products

Database Management for DB2 for z/OS - Administration Suite Database Management for DB2 for z/OS - Performance Suite Database Management for DB2 for z/OS - Recovery Suite Database Management for DB2 for z/OS - SQL Performance Suite DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS Database Management for DB2 for z/OS - Utilities Suite Database Management for DB2 for z/OS - Utilities Suite

Issue/Introduction

When applying maintenance for Database Management Solutions for Db2 for z/OS you may want to do only HIPERs.
This can be accomplished by using a certain SOURCEID in the RECEIVE and APPLY.

How to RECEIVE and APPLY only HIPERS?

Resolution

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

CAPyymm Identifies that the PTF is part of preventative maintenance where yymm represents year and month that the PTF was created
HIPER Identifies that the PTF resolves a High Impact or Pervasive problem
PRP Identifies that the PTF resolves a PTF in Error
SPE Identifies that the PTF contains a small programming enhancement
SPE-AFnn Identifies 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).