IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to search programs that call on a routine in Mainframe


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
Search our Forums:

Back to Top