How we can code in a jcl to execute a job in a particular
time and date without using any job shudular?. (Eg) i want
to execute a particular job at 8 am on 01/01/2010.
Answer Posted / mf guy
Another variant to this is as follows:
The code is:
//MAIN DEADLINE=(0800,B,REL,CYCLE)
Where CYCLE = WEEKLY (REL = 1 to 7)
MONTHLY (REL = 1 to 31)
YEARLY (REL = 1 to 365)
Eg:
//MAIN DEADLINE=(0800,B,2,WEEKLY)
this means the job will execute at 0800 hours every tuesday.
Thanks.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Can I send output of job to my remote device careerride123?
what is a jcl?
how you can direct the data to spool using SYSOUT option?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Is their any limit for data sets?
What is the use of symbol // in jcl?
Explain the job statement in jcl?
is there any way to execute more than one proc in the same exec statement at the same time..?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
What is multithreading in jcl?
How to submit jcl through a cobol program?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
what is DD statement is used in JCL?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?