View previous topic :: View next topic |
Author |
Message |
sivafdms Intermediate
Joined: 29 May 2007 Posts: 165 Topics: 77
|
Posted: Mon Feb 02, 2009 2:28 am Post subject: To run the JCL at particular time in a day |
|
|
Hi All,
Is there anyway that we can create a job which will run an another job at paticular time.
Thanks,
Siva |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Mon Feb 02, 2009 4:44 am Post subject: |
|
|
No. A Job Scheduling system needs to be involved in order to do this. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Mon Feb 02, 2009 11:27 am Post subject: Re: To run the JCL at particular time in a day |
|
|
sivafdms wrote: | Hi All,
Is there anyway that we can create a job which will run an another job at paticular time.
Thanks,
Siva |
Sivafdms,
If your shop has JES3 lookup the parm DEADLINE
Kolusu |
|
Back to top |
|
|
sivafdms Intermediate
Joined: 29 May 2007 Posts: 165 Topics: 77
|
Posted: Wed Feb 11, 2009 4:45 am Post subject: |
|
|
Kolusu,
I have put this //*MAIN DEADLINE=(0433,B,110208) in my jcl so that should start exceuting i the job on 11th FEb 09 at 4:33 AM EST . But when i submit the job it completed right away after submitting the job.
Code: |
//*MAIN DEADLINE=(0433,B,110208)
//*
//JSTY0010 EXEC PGM=ICETOOL,REGION=1024K
//TOOLMSG DD SYSOUT=*
//SSMSG DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTIN DD DSN=X.Y.Z,
// DISP=SHR
//TOOLIN DD *
COUNT FROM(SORTIN)
/*
|
please help me
Thanks,
Siva |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Wed Feb 11, 2009 6:08 am Post subject: |
|
|
That's NOT what the DEADLINE parameter does.
DEADLINE specifies when the job is required. It has nothing to do with when it's actually started. |
|
Back to top |
|
|
sivafdms Intermediate
Joined: 29 May 2007 Posts: 165 Topics: 77
|
Posted: Wed Feb 11, 2009 9:12 am Post subject: |
|
|
Superk,
how can i accomplish my task?
Thanks,
Siva |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Wed Feb 11, 2009 9:32 am Post subject: |
|
|
sivafdms wrote: | Kolusu,
I have put this //*MAIN DEADLINE=(0433,B,110208) in my jcl so that should start exceuting i the job on 11th FEb 09 at 4:33 AM EST . But when i submit the job it completed right away after submitting the job.
|
Sivafdms,
You are in 2009. Your deadline parm is referring to 11th feb 2008. Also remember that Deadline parm is only valid on JES3 and JES2 doesn't have anything similar to it.
Superk,
I am not sure where got the info about DEADLINE parm but Deadline scheduling is indeed a method of scheduling jobs by time of day, or by week, month, or year.
Kolusu |
|
Back to top |
|
|
sivafdms Intermediate
Joined: 29 May 2007 Posts: 165 Topics: 77
|
Posted: Wed Feb 11, 2009 10:41 pm Post subject: |
|
|
kolusu,
Thanks for pointing out the mistake. Today i have tried //*MAIN DEADLINE=(2130,F,110209). even then the job didnot wait for that time.
Could you please tell me how can i determine that my shop supports JES3/JES2 ?
Thanks,
Siva |
|
Back to top |
|
|
expat Intermediate
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Thu Feb 12, 2009 2:19 am Post subject: |
|
|
When you open a job in SDSF the very fisrt line of the display that comes up for me is
Code: |
J E S 2 J O B L O G -- S Y S T E M xxxx --
|
_________________ If it's true that we are here to help others,
then what exactly are the others here for ? |
|
Back to top |
|
|
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Fri Feb 13, 2009 12:40 am Post subject: |
|
|
Wouldn't a JES3 statement give you a JCL error in a JES2 shop and vice versa? _________________ ....Terry |
|
Back to top |
|
|
slade Intermediate
Joined: 07 Feb 2003 Posts: 266 Topics: 1 Location: Edison, NJ USA
|
Posted: Sat Mar 07, 2009 8:53 pm Post subject: |
|
|
Don't JES cntl cards begin with "/*"? E.G.: /*MAIN DEADLINE=(0433,B,110208)
Siva, give that a try. _________________ Regards, Jack.
"A problem well stated is a problem half solved" -- Charles F. Kettering |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Sun Mar 08, 2009 2:26 pm Post subject: |
|
|
//* is JES3, /* is JES2 _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
|
|