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
how JCL works?
Is it possible to left uncode disp?
Give the syntax of job specifying jcl statement.
How is a type of file defined in the jcl that executes the cobol program?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
Differentiate between addressing mode and run mode.
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
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?
how can the same proc be re-used and called by many jobs?
Is automatic restart possible in jcl? If yes, how?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
Explain the function of a dd statement?
how do you access an uncataloged dataset in a jcl?