View previous topic :: View next topic
|
Author |
Message |
vardhan0007
New User
Joined: 05 Jun 2006 Posts: 51 Location: Bangalore,India
|
|
|
|
Hi ,
If i code
//MAIN DEADLINE=(0700,B,012086)
in jcl wat it will do .can anybody please explain me about this.And i have a require ment where i have to run some jobs in production every month .Is there any method to scedule those jobs so that they will run automatically.
Note:- Without using OPC or any other tool.
Thanks,
Harsha. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
Back to top |
|
|
vardhan0007
New User
Joined: 05 Jun 2006 Posts: 51 Location: Bangalore,India
|
|
|
|
Yes but i didn't uderstand...i need to run some production jobs everymonth.Is there any way to do this without using any 3rd party tools like OPC. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Yours will not be the only monthly job your data center runs each month. You need to find out how other monthly jobs are handled and follow the same procedure with your job.
There is no reason to invent a "new" way to run a monthly job. Why would you think your job needs to be handled differently than all of the other monthly jobs |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Hi!
Quote: |
//MAIN DEADLINE=(0700,B,012086) |
That' s a JES3 statement !
anyway it's syntax, unless JES3 has changed lately, is wrong - it should be:
Code: |
//*MAIN DEADLINE=(0700,B,012086) |
and it's a control statement to define JES3 internal scheduling strategy
I find very strange that a JES3 shop does not have a scheduling/automation package installed
regards
e.s
P.S.
JES3 control statements are written as JCL comments in order to allow reusing of the same jcl stream in a non JES3 environment |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Follow on to my previous post
Deadline scheduling is a JES3 facility that allows users to schedule a job to
execute at (or by) a certain time (wall clock time or number of minutes or
hours relative to job submission time) on a specific date or periodically at
a given time every week, month, or year.
Still I do not think it will satisfy Your odd request;
You will have to remember to submit the job ( manually )
and leave it hanging in the spool until scheduling time
I tend to associate scheduling/automation with something else,
>>> something which once having defined the process the resources and the schedule,
will AUTOMATICALLY, until told to stop doing it, take care of everything else
which in this case is "submit the JOB for execution" <<<
regards |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
To repeat - your job should follow the same method as other jobs with a scheduling requirement. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Hi,
I was excited to try this out, but my shop has JES2 only.
Could you please let me know if there is any equivalent JES2 statement for this.
Thanks in advance,
Vasanth.S. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I was excited to try this out |
Did you read the topic?
Again
Quote: |
To repeat - your job should follow the same method as other jobs with a scheduling requirement. |
Your requirement sounds like you need to schedule something - to do so you should use the standard system schedule. . . |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Hi Dick Scherrer,
why this doubt???
I never knew that such a technique exists in JES, and im quite new. so i was excited to try it out.
And the reason im looking for JES scheduling, is in our shop we are restricted from scheduling USER jobs, only production jobs are allowed to be scheduled.
I do a lot of manual tasks , so automating these tasks with SAS, REXX and looking for JES2 scheduling(not found it yet though) |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I never knew that such a technique exists in JES, and im quite new. so i was excited to try it out |
Learning new things is exciting and i highly encourage learning new things
Quote: |
only production jobs are allowed to be scheduled.
|
If your organization is like many, many others, the information technology staff is a very expensive department. Your "test" jobs are actually your "production". It makes good business sense for you to be able to use the tools already in place to support your work. Your jobs should never have production job names, so there should be no conflict. The politics may not be easily overcome, but if you can get "them" to agree that what you need makes more sense than "writing your own schedule" or "doing it by hand", progress might be made.
Good luck |
|
Back to top |
|
|
|