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

JCL to list PROCs and Parms used in a set of jobs


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Babu V P

New User


Joined: 27 Aug 2007
Posts: 6
Location: Chennai

PostPosted: Mon Dec 03, 2007 2:13 pm
Reply with quote

Hi,
I need to list all the procs and parms used in my application (Around 100 jobs). Could anyone tell me what utility supports this? Instead of going and searching in each job, if a code is there to do that, that will be of great help.
Thanks in advance.
BoB
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Mon Dec 03, 2007 4:15 pm
Reply with quote

Babu,

Quote:
I need to list all the procs and parms used in my application (Around 100 jobs). Could anyone tell me what utility supports this?

Is there anything wrong with ISPF search facility?
Back to top
View user's profile Send private message
Babu V P

New User


Joined: 27 Aug 2007
Posts: 6
Location: Chennai

PostPosted: Tue Dec 04, 2007 10:23 am
Reply with quote

Hey there,
I need a code to do this, instead of using ISPF search facility.
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Tue Dec 04, 2007 10:54 am
Reply with quote

I can write code for you but I need money to do this. Preferrably cash.. icon_lol.gif

If you want to write it yourself then suggestions will be offered for free.
Tell us more about your requirement so that we can offer better suggestions.
Back to top
View user's profile Send private message
Babu V P

New User


Joined: 27 Aug 2007
Posts: 6
Location: Chennai

PostPosted: Tue Dec 04, 2007 11:41 am
Reply with quote

Sounds great.. I have about 100 JCLs and each JCL will call atleast one PROC. Also, each PROC may use more than 2 Parms. I need to catch all Parms used by a particular PROC and all PROCs used by a particular JCL. And, this is i need for all the JCLs.

Any idea?
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Tue Dec 04, 2007 4:18 pm
Reply with quote

If this is requirement is one time task then there is FILE-AID for your help. As it will give MEMBER name and the 'hit' as formatted o/p.

Finding procs-
Do a search on JCL for word 'EXEC'.
Exclude lines which contain word PGM (As you only want PROCS).

For parameters -
Parameters used in proc will be preceeded by &, so find for &.
Exclude lines with && as those will be temporary files.

This is first approach which came to my mind. I have tried to give you pointers. let me know if it was of any help.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Tue Dec 04, 2007 4:26 pm
Reply with quote

Babu,

Quote:
Also, each PROC may use more than 2 Parms

Are your referring to PARM parameter or symbolic parameter.
Back to top
View user's profile Send private message
Babu V P

New User


Joined: 27 Aug 2007
Posts: 6
Location: Chennai

PostPosted: Tue Dec 04, 2007 4:43 pm
Reply with quote

Well! Its a repetetive task and so background option will be of great help. Let me know if you have suggestions.

Also, Parm i mean is parameter and not the symbolic.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Tue Dec 04, 2007 5:45 pm
Reply with quote

Follow Abhijith suggestion with little modification for parms. Search for PARM instead of & (as suggested).
Back to top
View user's profile Send private message
nitishniki

New User


Joined: 27 Dec 2007
Posts: 10
Location: Banglore

PostPosted: Wed Jul 02, 2008 9:34 pm
Reply with quote

hi all,
i have similar but different problem, i have a jcl which is passing 64 values as parameter to a focus program.
now i have to productionise it. So i have to make a seperate jcl and have to call proc and i have to pass parameter to program, tru proc,we can't put all the parameter in the proc sysin it won't resolve.
can anybody suggest the right way to do it.
thanks in advance icon_arrow.gif
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Fri Jul 04, 2008 6:15 pm
Reply with quote

Use a dataset for SYSIN instead of instream data.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Build dataset list with properties us... PL/I & Assembler 4
Search our Forums:

Back to Top