Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to search programs that call on a routine in Mainframe

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
Kathrina Caguingin

New User


Joined: 12 Mar 2009
Posts: 8
Location: Philippines

PostPosted: Mon Aug 17, 2009 12:37 pm    Post subject: How to search programs that call on a routine in Mainframe
Reply with quote

Hi - Does someone know any way of checking all programs calling a certain routine besides doing a 3.14 option in TSo or an Endevor search?
Thanks!
Back to top
View user's profile Send private message

vvmanyam

New User


Joined: 16 Apr 2008
Posts: 86
Location: Bangalore

PostPosted: Mon Aug 17, 2009 1:05 pm    Post subject:
Reply with quote

If you like to search in all the programs in Endv you can you this SCL to search for the program(pgmname) which is being called by all other programs.

Code:

LIST ELEMENTS *                           
     FROM     ENVIRONMENT '****'           
              SYSTEM      '****'           
              SUBSYSTEM   '***'           
              TYPE        'COBOL'         
              STAGE       '*'             
     TO       DSNAME      'TEST.TSO.SOURCE'
              MEMBER      'ENDVXXXX'       
     BUILD    ACTION      GENERATE         
     OPTIONS  SEARCH                       
              SHOW        TEXT             
     WHERE    TEXT      ('pgmname')       



Regards,
Balu
Back to top
View user's profile Send private message
Kathrina Caguingin

New User


Joined: 12 Mar 2009
Posts: 8
Location: Philippines

PostPosted: Mon Aug 17, 2009 1:20 pm    Post subject:
Reply with quote

Thanks a lot for the response Balu,

I got an error though
LIST ELEMENTS *
FROM ENVIRONMENT 'PROD'
SYSTEM 'XXX'
SUBSYSTEM 'XXX'
TYPE 'COB*'
STAGE 'P'
TO DSNAME 'XXXX.XXXXX.XXXXX'
MEMBER 'LISTA'
BUILD ACTION GENERATE
OPTIONS SEARCH
SHOW TEXT
WHERE TEXT (XXXXXXXX)
BSTPPARS: E004 INVALID COMMAND WORDING, FOUND: <END OF LINE>
1BM4100: E031 NO ACTION REQUESTS WERE GENERATED
8:41:52 C1Y0014E ERROR ENCOUNTERED WHEN PARSING SYNTAX. PROCESSING WILL BE TE
END OF EXECUTION LOG - HIGHEST ENDEVOR RC = 0012

Can you tell me what's wrong please?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm

Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us