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

How to find how many procs are used in a job


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
santhisree

New User


Joined: 08 Nov 2006
Posts: 1

PostPosted: Fri Dec 15, 2006 3:41 pm
Reply with quote

Please tell me how to find how many procs are used in a job?

Thanks,
Rajen.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Sat Dec 16, 2006 2:04 am
Reply with quote

First, find out how many EXEC statements there are that use PGM=program-name. Exclude those out. Then, find out how many EXEC statements are left. Those are the procs, and can be coded as either EXEC procname or EXEC PROC=procname.

Then, look for nested procs by repeating this same process for each proc you find.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
No new posts Find a record count/numeric is multip... COBOL Programming 1
No new posts Need to find a specific STRING COBOL Programming 11
Search our Forums:

Back to Top