Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Can JCL prep be automated

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Can JCL prep be automated
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: 3158
Location: Tucson AZ

PostPosted: Tue Feb 13, 2007 3:10 pm    Post subject:
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: 2360
Location: Israel

PostPosted: Tue Feb 13, 2007 3:46 pm    Post subject:
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: Chennai

PostPosted: Tue Feb 13, 2007 8:01 pm    Post subject: Re: can jcl prep be automated
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: 2360
Location: Israel

PostPosted: Tue Feb 13, 2007 10:23 pm    Post subject:
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    Post subject: Re: can jcl prep be automated
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: Chennai

PostPosted: Wed Feb 14, 2007 2:50 pm    Post subject: Re: can jcl prep be automated
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: 2360
Location: Israel

PostPosted: Wed Feb 14, 2007 6:13 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Thu Feb 15, 2007 9:29 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL prep CJT All Other Mainframe Topics 8 Thu Aug 04, 2011 1:09 pm
No new posts JCL- PREP ERROR- DATASET narayana.kr All Other Mainframe Topics 4 Thu Sep 02, 2010 2:04 pm
No new posts Tools to store job outputs in a autom... GaganGarg All Other Mainframe Topics 10 Thu May 27, 2010 4:37 pm
No new posts automated Access path comparison GuyC DB2 0 Wed Dec 02, 2009 8:13 pm
No new posts MAINFRAME TESTER'S REQUIRED ( MANUAL/... beruoist Mainframe Jobs 0 Thu Mar 05, 2009 2:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us