IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need info about //MAIN DEADLINE=(0700,B,012086)


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vardhan0007

New User


Joined: 05 Jun 2006
Posts: 51
Location: Bangalore,India

PostPosted: Wed Apr 11, 2007 6:17 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Apr 11, 2007 7:01 pm
Reply with quote

Have you tried the fine manual?

O.
Back to top
View user's profile Send private message
vardhan0007

New User


Joined: 05 Jun 2006
Posts: 51
Location: Bangalore,India

PostPosted: Wed Apr 11, 2007 7:20 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Apr 11, 2007 7:23 pm
Reply with quote

There's another topic on the exact same issue:

www.ibmmainframes.com/viewtopic.php?t=19768
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Apr 11, 2007 7:51 pm
Reply with quote

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 icon_confused.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Apr 12, 2007 11:31 am
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Apr 12, 2007 11:48 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Apr 12, 2007 6:45 pm
Reply with quote

Hello,

To repeat - your job should follow the same method as other jobs with a scheduling requirement.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Oct 07, 2008 4:24 pm
Reply with quote

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.

icon_cry.gif

Thanks in advance,
Vasanth.S.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Oct 07, 2008 4:38 pm
Reply with quote

Chapter 27. JES2 Control Statements.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Oct 07, 2008 4:43 pm
Reply with quote

icon_smile.gif icon_smile.gif Thanks I will try..
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Oct 08, 2008 1:15 am
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Wed Oct 08, 2008 1:43 pm
Reply with quote

Hi Dick Scherrer,


icon_eek.gif 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 icon_sad.gif , so automating these tasks with SAS, REXX and looking for JES2 scheduling(not found it yet though)
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Oct 08, 2008 1:54 pm
Reply with quote

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 icon_smile.gif

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 icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts in REXX,how to get sysprt info CLIST & REXX 9
No new posts Copy a PDS to a new PDS - why do I ne... TSO/ISPF 8
No new posts Tivoli INFO/MANAGEMENT IBM Tools 1
No new posts Recreating VSAM cluster catalog info ... All Other Mainframe Topics 6
Search our Forums:

Back to Top