Using command CAMODID to display maintenance information about a load module.

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

Description:

CAMODID is a CA Technologies TSO command processor utility, and is used to provide the service level and service maintenance of a load module element.

This utility is distributed with the CA Common Services r14.0 and higher and supported by CA Workload Automation ESP Edition beginning at r11.4.

Solution:

CAMODID can be executed from native TSO, from the TSO ISPF Command Shell, or from a batch job using IKJEFT01.

The command format is 'CAMODID function operand1 operand2 operand3'

Available FUNCTIONS:


HELP     - CAMODID DESCRIPTION OF FUNCTIONS AND OPERANDS
SYSTEM   - SCAN LOAD MODULES IN COMMON AND THE LINKLIST  
DSNAME   - SCAN LOAD MODULES IN THE DESIGNATED DATASET 
DDNAME   - SCAN LOAD MODULES IN THE DATASET(S) ASSOCIATED
           WITH THE SUPPLIED DDNAME AND OPTIONAL JOBNAME

Available OPERANDS:
DDNAME, DETAIL,DSN,FMID, JOBNAME,LMOD,NOCOMMON,NOLNKLST,PTF or RMID,SORTFMID,SYSTEM

Example #1: CAMODID HELP
This command displays the format, and the definition of all the supported functions and operands of the CAMODID utility.

Example #2: CAMODID DSN(ESP.V114.CD7YLOAD) LMOD(CYBJS000) DETAIL
This command displays the service maintenance of main module CYBJS000 and many other modules from data set name "ESP.V114.CD7YLOAD"

Example #3: Display service maintenance of all the modules in which the name begins with CYBES from the load library allocated to DD name ESP.


// JOB statement
//CAMODID  EXEC PGM=IKJEFT01                                      
//SYSPRINT DD SYSOUT=*                                            
//SYSTSPRT DD SYSOUT=*                                            
//ESP    DD DSN=ESP.V114.CD7YLOAD,DISP=SHR         
//SYSTSIN  DD *                                                   
 CAMODID DDNAME(ESP) LMOD(CYBES*) DETAIL                      
/* 

Sample CAMODID display:


                  CA LOAD MODULE SERVICE ANALYZER                  
       SYSID=CA31 SP7.2.1  HBB7790    DATE=2014099 10:35:18        
                                                                   
                 PRIMARY CONTROL OPTIONS IN EFFECT:                
                                                                   
   FUNCTION=DSNAME  LMOD(CYBES00*)  FMID(********)  PTF(*******)   
                                                                                                                                                                                                     
      PROCESSING DATASET=CYB2.TS.ESP.V114.CD7YLOAD                
                                                                   
    MODULE   FMID    RMID     DATE   TIME       PRODUCT            
   -------- ------- ------- -------- ----- --------------------    
                                                                   
====================================================================
   LMOD=CYBES000                                                       
   CYBES000 CD7YB40 CD7YB40 20120417 10.52 CA WA ESP Edition R11.4
   CYBES005 CD7YB40 CD7YB40 20120417 10.53 CA WA ESP Edition R11.4
   CYBES004 CD7YB40 CD7YB40 20120417 10.53 CA WA ESP Edition R11.4
   CYBES007 CD7YB40 CD7YB40 20120417 10.53 CA WA ESP Edition R11.4  
   CYBES018 CD7YB40 RO57516 20130412 12.44 CA WA ESP Edition R11.4  
   CYBES041 CD7YB40 CD7YB40 20120417 10.55 CA WA ESP Edition R11.4  
.....