MAPS: Need a Mechanism to Scan All of our Maps for Specific Text
search cancel

MAPS: Need a Mechanism to Scan All of our Maps for Specific Text

book

Article ID: 145966

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction

How can I scan ALL of our maps in a dictionary for a specific text so I an identify the map names that contain it? 

Environment

Release : 19.0

Component : CA ADS

Resolution

1. Run RHDCMPUT to DECOMPILE all MAPS in the DICTIONARY

For example 
//MPUT1    EXEC PGM=RHDCMPUT,REGION=0M           
//STEPLIB DD DSN=idms.dba.loadlib,DISP=SHR
//sysctl DD DSN=idms.sysctl,DISP=SHR   

//SYSPCH   DD SYSOUT=*                           
//SYSLST   DD SYSOUT=*                           
//SYSUDUMP DD SYSOUT=*                           
//SYSIDMS  DD *                                  
DMCL=DMCL1900                                    
DICTNAME=SYSDICT                                 
//SYSIPT   DD *                                  
PROCESS=DECOMPILE                                
MAP=ALL                                          
/*                                               


2. You can identify the names of the maps that contain specific text by examining the output written to the SYSPCH DD. Scan the output for the specific text and when found just back up a little bit in the output and you will see the name of the MAP that contains it.


Additional Information

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/database-management/ca-idms-reference/19-0/mapping-facility/batch-compiler-and-batch-utility/compiler-and-utility-functions.html