View previous topic :: View next topic
|
Author |
Message |
Babu V P
New User
Joined: 27 Aug 2007 Posts: 6 Location: Chennai
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
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 |
|
|
Babu V P
New User
Joined: 27 Aug 2007 Posts: 6 Location: Chennai
|
|
|
|
Hey there,
I need a code to do this, instead of using ISPF search facility. |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
I can write code for you but I need money to do this. Preferrably cash..
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 |
|
|
Babu V P
New User
Joined: 27 Aug 2007 Posts: 6 Location: Chennai
|
|
|
|
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 |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Babu,
Quote: |
Also, each PROC may use more than 2 Parms |
Are your referring to PARM parameter or symbolic parameter. |
|
Back to top |
|
|
Babu V P
New User
Joined: 27 Aug 2007 Posts: 6 Location: Chennai
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Follow Abhijith suggestion with little modification for parms. Search for PARM instead of & (as suggested). |
|
Back to top |
|
|
nitishniki
New User
Joined: 27 Dec 2007 Posts: 10 Location: Banglore
|
|
|
|
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 |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
Use a dataset for SYSIN instead of instream data. |
|
Back to top |
|
|
|