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

Use of command //*MAIN DEADLINE=


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

New User


Joined: 02 Aug 2007
Posts: 5
Location: Pune

PostPosted: Thu Aug 16, 2007 6:57 am
Reply with quote

Hi all
can any body tell me the use of
//*MAIN DEADLINE=
command and Its parameters.
thanks in advance.
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 Aug 16, 2007 7:37 am
Reply with quote

Hello,

The //*MAIN statement is used to define the processor requirements for the current job. This is a JES3 command.
Back to top
View user's profile Send private message
NehaPathak

New User


Joined: 02 Aug 2007
Posts: 5
Location: Pune

PostPosted: Thu Aug 16, 2007 8:47 am
Reply with quote

@dick scherrer
Can you please elaborate more?
I mean how to use this command, what values we specify in this command.Mainly like if we want to execute a jcl on a partivular time in a particular date.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Aug 16, 2007 12:01 pm
Reply with quote

Hi,

QW gives this:
The //*MAIN statement is used to define the JES3 processor requirements for your job. JES3 abends your job and writes warning messages to the the JESMSG data set if an error is found in the //*MAIN statement. The //*MAIN statement consists of the characters //*MAIN in columns 1 through 7, a blank in column 8, and the necessary parameters anywhere in columns 9 through 72. You should insert the //*MAIN statement for your job after the JCl JOB statement and before the first EXEC statement in the job.

DEADLINE=(time,type{,date}) | (time,type{,rel,cycle})
This parameter tell JES3 when the job is required, by supplying a time and date before which the job must be scheduled. 'time' is the time of day by which the job must initiate, and Specifies the deadline time.

Hope this helps.
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 Aug 16, 2007 6:13 pm
Reply with quote

Hello,

If you want a job to run at a particular time, your better choice is to use the scheduling system already in use. Most systems want scheduling centrally controlled and managed rather than just everyone "scheduling their own" and possibly interferring with the operation of the center.
Back to top
View user's profile Send private message
NehaPathak

New User


Joined: 02 Aug 2007
Posts: 5
Location: Pune

PostPosted: Fri Aug 17, 2007 8:24 am
Reply with quote

I also got some points on this topic so sharing that. icon_smile.gif

Deadline Scheduling
JES3 seems to have this as a scheduling facility. Sometimes, jobs are on hold for a long time, due to not being able to assign priorities. Deadline parameter is used to tell the system to execute this job by the time you need.
//*MAIN DEADLINE=(0700,B,020906)
to execute the job on 7'o clock morning 2nd sep 2006.

Deadline scheduling is a 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.
The installation defines up to 36 deadline-scheduling algorithms (A-Z and
0-9) and communicates the behavior of these algorithms to its users.
Deadline-scheduling algorithms specify such things as the initial priority
change, the lead-time for the job (i.e., the amount of time prior to the
specified deadline that the initial priority change will be made), and
parameters such as priority increment and frequency of incrementation.
The user’s JCL specifies the deadline time and date (or cycle relative to
week, month or year) and indicates which deadline-scheduling algorithm is to be used.
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 RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top