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
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
what is use of space parameter in dd statement?
Explain the job statement in jcl?
what is DD statement is used in JCL?
What are the 4 fields in dd statement?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
what is JCL?
What do you understand by the term job time – out and how can you overcome that?
what is the difference between JES3 and JES2?
What does a disposition of (MOD,DELETE,DELETE) mean ?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
How can an in-stream dataset be terminated?
What is the use of symbol // in jcl?