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


Please Help Members By Posting Answers For Below Questions

//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

898


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1918


How does jcl act on code(if you take a cobol program)?

698


what are the types of abends that occur on job failure? And explain the possible causes of these

1107


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1477






Where & How Do You Code Identifier In Jcl?

688


What do you understand by the term job time – out and how can you overcome that?

593


Can we use DISP=SHR in output file in JCL

943


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1943


List the different jcl statements that are not permitted in the procedures?

631


What is the function of the dd dcb keyword?

814


Explain dd statement in jcl?

630


Explain about ISPF/TSO Commands

1306


Explain how can a stopped job be started again?

629


What is the function of the dd mgmtclas keyword in sms datasets?

729