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.
Answers were Sorted based on User's Feedback
Answer / chandrakant
The code is:
//MAIN DEADLINE=(0800,B,010110)
| Is This Answer Correct ? | 12 Yes | 5 No |
Answer / 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 |
Min no of member?s (PDS) in one directory block?
What statement marks the end of an in-stream or catalogued procedure?
Is there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it is available for VSAM datasets under Model Commands category ?
What is the differentiation between TRK,cyl, and Bytes... how they can be connected??
whats the difference between empty and noempty of GDG?
how to split a file
what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file
What is 'S0C7' abend?
what is a cataloged procedure ?
In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04
What are the parameter in the job card wihtout which job won't run........
How do you submit JCL via a Cobol program?