Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Need info about //MAIN DEADLINE=(0700,B,012086)
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: 2360
Location: Israel

PostPosted: Wed Apr 11, 2007 7:01 pm    Post subject:
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    Post subject:
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

Moderator Team Head


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

PostPosted: Wed Apr 11, 2007 7:23 pm    Post subject: Re: can you please tell me about //MAIN DEADLINE=(0700,B,012
Reply with quote

There's another topic on the exact same issue:

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

Site Director


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

PostPosted: Wed Apr 11, 2007 7:51 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Apr 12, 2007 11:31 am    Post subject: Re: Need info about //MAIN DEADLINE=(0700,B,012086)
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Apr 12, 2007 11:48 am    Post subject: Re: Need info about //MAIN DEADLINE=(0700,B,012086)
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

Site Director


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

PostPosted: Thu Apr 12, 2007 6:45 pm    Post subject:
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: 1504
Location: Chennai

PostPosted: Tue Oct 07, 2008 4:24 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Oct 07, 2008 4:38 pm    Post subject: Reply to: Need info about //MAIN DEADLINE=(0700,B,012086)
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: 1504
Location: Chennai

PostPosted: Tue Oct 07, 2008 4:43 pm    Post subject:
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

Site Director


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

PostPosted: Wed Oct 08, 2008 1:15 am    Post subject:
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: 1504
Location: Chennai

PostPosted: Wed Oct 08, 2008 1:43 pm    Post subject:
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

Site Director


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

PostPosted: Wed Oct 08, 2008 1:54 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need info on EIBCPOSN value in IBM FA... subratarec CICS 11 Wed Jul 12, 2017 3:45 pm
No new posts Need info with DBRC recovery ashek15 IMS DB/DC 0 Mon Jan 23, 2017 6:43 am
No new posts IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am
No new posts Missing Java main class akg Java & MQSeries 3 Wed May 25, 2016 4:05 pm
No new posts Utility to extract dsn info from conc... Lynne Schuler PL/I & Assembler 12 Tue Jan 26, 2016 6:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us