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 |
What is the max blocksize for a Tape file?
How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
Does jcl support automatic restart?
what is the restart?hopw it is invoked?
What is order of searching of the libraries in a JCL?
whats SOC7?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
how to code instream data in procedure?
proc1,proc2,up to proc5 is there if i want to call proc1 and proc5how can u write the code
Is it possible to code instream data in a PROC?
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY