How to check for updated SYSMODS to see which one's have been changed.
search cancel

How to check for updated SYSMODS to see which one's have been changed.

book

Article ID: 415248

calendar_today

Updated On:

Products

Common Components and Services for z/OS

Issue/Introduction

The SMP/E CSI keeps track of what FMIDs have been updated.

Environment

SMP/E

Cause

The customer wants to know what SYSMODS have been updated by PTFs.

Resolution

There are four types of SYSMODs:

An FMID,

A PTF,

An APAR,

A USERMOD

To check for updated SYSMODs you could run a LIST ALLZONES report and review the MODULE   ENTRIES list in the target zone. Those modules with an RMID (replacement module id) that is not an FMID have been updated by a PTF. Each entry will list the LMODs for each MOD. Example:

 CAIT0   MODULE   ENTRIES                                                                                                
                                                                                                                         
                                                                                                                         
   NAME                                                                                                                  
                                                                                                                         
 @HC000W   LASTUPD         = CAS9F00  TYPE=ADD                                                                           
           LIBRARIES       = DISTLIB=AAS9MOD                                                                             
           FMID            = CAS9F00                                                                                     
           RMID            = CAS9F00                                                                                     
           LMOD            = CASHCLPA  

Module @HC000W is linked into CASHCLPA by FMID CAS9F00 and since the RMID is also CAS9F00 it was never updated by a PTF.

 

This is a module entry that was updated by a PTF:

CAMSPCRM  LASTUPD         = CAS9F00  TYPE=ADD                                                                           
           LIBRARIES       = DISTLIB=AAS9MOD                                                                             
           FMID            = CAS9F00                                                                                     
           RMID            = LU00070                                                                                     
           LMOD            = CAMSPCRM       

Module CAMSPCRM was installed by FMID CAS9F00 and updated by PTF LU00070.

This applies to all the ENTRIES, MACRO, CLIST, DATA, MSG, PARM, PROC, SAMP etc.

This JCL generates this report:   

//SMPGO    EXEC PGM=GIMSMP,REGION=4096K,PARM='DATE=U'
//SMPCSI   DD DSN=hlq.CSI,DISP=SHR  
//SMPHOLD  DD DUMMY                                  
//SMPLIST  DD SYSOUT=*                               
//SMPPTFIN DD  DUMMY                                 
//SMPCNTL  DD *                                      
   SET BDY(GLOBAL).                                  
       LIST ALLZONES.                                
/*