View previous topic :: View next topic |
Author |
Message |
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Mar 03, 2004 8:34 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Mar 03, 2004 9:16 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Mar 03, 2004 9:42 am Post subject: |
|
|
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 |
|
|
|
|