MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JCL Procs n submition of Jobs...

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed Mar 03, 2004 8:34 am    Post subject: Reply with quote

Ravi,

The above statements are CA-7 Scheduled Override Statements.you can use these statements to override JCL and other statements that are included in the JCL for a job, thereby dynamically changing run stream contents to fit the needs of a particular run.

#JI indicates the statements are to be included based on the specified scheduling criteria.
here it is for schedule id run 101.

#NOX means make run nonexecutable

#JEND means End of #Jx override statements

You can find more about these in CA-7 Database Maintenance Guide

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed Mar 03, 2004 9:16 am    Post subject: Reply with quote

Ravi,

Quote:

So in this scenerio #JI,ID=101 (with parameters) indicates that, Run the Job which has Job Scheduled ID as 101 right.

This means every job name has a unique JCLID#? right.


Not exactly true. The same job can have different schedule id's. ID indicates a specific schedule ID number. Let me explain with an example.

JOB A runs to collect the stats.

ID=1 will run daily and will collect stats from previous day.

ID=2 will run on the weekend which will cummulate all the week day stats

ID=3 will run on the month end which will cummulate all the month stats

Id=4 will run on the year end which will cummulate all the year stats.

Now for each run you may want to override the date differently. using the above mentioned parameters we can override the date for specific schedule ID number.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed Mar 03, 2004 9:42 am    Post subject: Reply with quote

Ravi,

I think it is difficult to the jobname directly with ID# because there might be several jobs with same schedule ID number. you are right that your job will submit 4 jobs with IDS 101 thru 104.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group