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

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

812


What is the significance of addrspc parameter in exec statement?

731


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1767


How do you overcome this limitation ?

698


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

788






how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

788


What is notcat 2 - gs?

941


Is acct parameter mandatory?

763


What are the jcl procedures?

645


Explain dd statement in jcl?

644


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

1998


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1351


Which dd parameters are required?

694


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

2267


which utility is used to sort a file in jcl?

750