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



How we can code in a jcl to execute a job in a particular time and date without using any job shud..

Answer / chandrakant

The code is:
//MAIN DEADLINE=(0800,B,010110)

Is This Answer Correct ?    12 Yes 5 No

How we can code in a jcl to execute a job in a particular time and date without using any job shud..

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

Post New Answer

More JCL Interview Questions

wht happens if blksize = 0 and lrec = 0 ?

1 Answers   TCS,


wht r different types of sorts ?

1 Answers   L&T,


How can unused space allocation be returned to the system when a dataset is closed?

0 Answers  


Why block size is multiple of lrecl in jcl?

0 Answers  


if we compile the cobol+ db2 program now ofter 5 years we need to compile again?

1 Answers   TCS,






What is a COND parameter in JCL?

10 Answers   TCS,


What is the use of DSNDB07 ?

1 Answers  


How gdg are concatenated?

0 Answers  


I have four steps in jcl they are STEP1,STEP2,STEP3 and STEP4. Can it possible to run the reverse order like step4 first then step3,step2,step1?

4 Answers   Broadridge, HCL,


what is the use of IEBGENER utility?

0 Answers  


I have DATE filed like DD-MM-YYYY, So I want output should be MM/DD/YYYY using JCL? Can anybody post the answer for above requirement?

4 Answers   BirlaSoft, FIS, Wipro,


how to convert fb to vb in jcl ?

5 Answers   IBM, Infosys,


Categories