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 Usergroups 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 SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Opening in Allianz India- T... Rajesh Gopinathan Mainframe Jobs 0 Wed Apr 19, 2017 11:33 am
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am


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