Using CAMODID command to display maintenance information about your load module

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

.Introduction:

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.

 

Instruction:

CAMODID may 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(cai.jclcheck.r12.caz2load) LMOD(caz2cjcl) DETAIL

  This command displays the service maintenance of load module CAZ2CJCL from data set name "cai.jclcheck.r12.caz2load"            

 

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

// JOB statement

//CAMODID  EXEC PGM=IKJEFT01                                      

//SYSPRINT DD SYSOUT=*                                           

//SYSTSPRT DD SYSOUT=*                                           

//JCK    DD DSN=CAI.JCLCHECK.R12.CAZLOAD,DISP=SHR        

//SYSTSIN  DD *                                                   

 CAMODID DDNAME(JCK) LMOD(CAZ2*) DETAIL                     

     /*                                            

                                           

Sample CAMODID display:

 

READY                                                                       

CAMODID DDNAME(JCK) LMOD(CAZ2*) DETAIL                                    

                                                                          

                  CA LOAD MODULE SERVICE ANALYZER                          
       SYSID=CA31 SP7.1.3  HBB7780    DATE=2013157 16:38:22               
                                                                          
                 PRIMARY CONTROL OPTIONS IN EFFECT:                       
                                                                           
   FUNCTION=DDNAME  LMOD(CAZ2****)  FMID(********)  PTF(*******)          
                                                                          
                                                                           
                  JOBNAME=       ASID=             
                                                                          
                                                                          
       PROCESSING DATASET= CAI.JCLCHECK.R12.CAZLOAD                    
                                                                          
    MODULE   FMID    RMID     DATE   TIME       PRODUCT                   
   -------- ------- ------- -------- ----- --------------------           
                                                                          
===========================================================================
LMOD=CAZ2CJCL                                                              
   CAZ2ACS  CAZ1C00 RO56652 20130325 14.59 CA JCLCHECK R12.0              
   JCLSTART CAZ1C00 RO56298 20130318 11.24 CA JCLCHECK R12.0              
.....

 

As always, please contact CA Technologies support if you have further questions.