View previous topic :: View next topic
|
Author |
Message |
srikrishna duvvuri
New User
Joined: 13 Feb 2007 Posts: 5 Location: hyderabad
|
|
|
|
HI
If suppose there is a job in which i am submitting 2 more jobs.But before getting these jobs submitted through jcl,i want the jcl of both jobs to be preped.So is there any statement through which the jcl prep can be automated?
Many Thanks,
Krishna |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
There is no already provided statement but you can create your own procedure or program.
Beyond that, your question is not clear. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Please clarify the following for me:
Quote: |
i want the jcl of both jobs to be preped |
Thanks -
O. |
|
Back to top |
|
|
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
Ofer71,
PREP is a third party tool which is used to list error messages and warning messages before a JCL is being submitted.In the command line when you type PREP it displays the errors and warnings,It is similar to using TYPRUN=SCAN in the JCL.
I think you are clear now. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Thanks, muthuvel. I believe all JCL checkers have some kind of batch interface. I familiar only with JCLCheck, and I know it does have one.
O. |
|
Back to top |
|
|
srikrishna duvvuri
New User
Joined: 13 Feb 2007 Posts: 5 Location: hyderabad
|
|
|
|
Hi
Just can you help me in writing the procedure so as to automate the Prep because i am not sure of this.
Many Thanks,
Krishna |
|
Back to top |
|
|
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
Quote: |
Just can you help me in writing the procedure so as to automate the Prep because i am not sure of this. |
You cannot automate PREP.It is just a tool and a product to use. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I'm not familiar with JCLPREP, but quick search in Google tells that you can invoke JCLPREP in batch. Look here.
O. |
|
Back to top |
|
|
srikrishna duvvuri
New User
Joined: 13 Feb 2007 Posts: 5 Location: hyderabad
|
|
|
|
Thanks for ur reply, will go through it and try to implement it..
meanwhile can i capture the return code of the Jcl prep when it is submitted automatically? Because if the return code of Jcl prep is more than 12 then other steps need not be executed...
Many Thanks,
Krishna |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If the other steps are in the same job as the "prep" step normal condition code testing will allow you to bypass the remainder of the steps.
Your problem will very likely be answered for you when you put together the batch prep run. |
|
Back to top |
|
|
srikrishna duvvuri
New User
Joined: 13 Feb 2007 Posts: 5 Location: hyderabad
|
|
|
|
Will any job be submitted while prepping a Jcl internally? if so where can i find this job...
please help me in finding this..
Many Tahnks,
Krishna |
|
Back to top |
|
|
|