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

Can JCL prep be automated


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srikrishna duvvuri

New User


Joined: 13 Feb 2007
Posts: 5
Location: hyderabad

PostPosted: Tue Feb 13, 2007 3:01 pm
Reply with quote

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
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Feb 13, 2007 3:10 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Feb 13, 2007 3:46 pm
Reply with quote

Please clarify the following for me:
Quote:
i want the jcl of both jobs to be preped


Thanks -

O.
Back to top
View user's profile Send private message
muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Tue Feb 13, 2007 8:01 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Feb 13, 2007 10:23 pm
Reply with quote

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
View user's profile Send private message
srikrishna duvvuri

New User


Joined: 13 Feb 2007
Posts: 5
Location: hyderabad

PostPosted: Wed Feb 14, 2007 7:21 am
Reply with quote

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
View user's profile Send private message
muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Wed Feb 14, 2007 2:50 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Feb 14, 2007 6:13 pm
Reply with quote

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
View user's profile Send private message
srikrishna duvvuri

New User


Joined: 13 Feb 2007
Posts: 5
Location: hyderabad

PostPosted: Thu Feb 15, 2007 9:08 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Feb 15, 2007 9:29 am
Reply with quote

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
View user's profile Send private message
srikrishna duvvuri

New User


Joined: 13 Feb 2007
Posts: 5
Location: hyderabad

PostPosted: Fri Feb 16, 2007 8:44 am
Reply with quote

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
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 Best way to create an automated line ... TSO/ISPF 3
No new posts JCL prep All Other Mainframe Topics 8
No new posts JCL- PREP ERROR- DATASET All Other Mainframe Topics 4
No new posts Tools to store job outputs in a autom... All Other Mainframe Topics 10
No new posts automated Access path comparison DB2 0
Search our Forums:

Back to Top