Tuesday, November 22, 2011

Keyword parameters



A=40 min
B=70 min
C=2 hrs
…..
Z=15 hrs
0= 40 min
1= 1hrs
2= 3 hrs
…….
9= 19hrs.
            All keyword parameters are optional which are coded depending on requirement after the  positional parameters, separated by comma
Types :-
a) Class:- This is used to categorize the job based on the CPU utilization. 
Class= { 0-9, A-Z} or predefined in the system
If the class is ignored/ not coded the default class parameter will be assumed depending on the installation
Note :- Default parameter can be got from the operator.
            Class parameter must be coded always in the Job level.
b) Prty :- (priority parameter). This is a keyword parameter, which can be coded anywhere after positional parameter which is used to set the priority to the Job. 
PRTY= 0-15 /14
            0= Low priority
            14= High priority.
c) MSGCLASS:- this is a keyword parameter can be coded anywhere after positional parameter. This is used to route system related messages to the specified destination. This will be decided at the time of installation destinations are DISK/TAPE/PRINTER/SPOOL.

In any mainframe system messages related to DD/Exec/JOB are routed SPOOL/DEVICES/PRINTER default is the SPOOL
A………I –disk
J……….M-printer
Q………Z- tape

Spool :- this is system defined dataset and it is created by MVS O/S. in general the default destination is SPOOL


d) MSGLEVEL :- MSGLEVEL = ( statement , MSGS)

statement:-
only job related ---0          
all -------------------1
input allocation/termination –2

MSGS :-
0---Abnormal termination
1---Normal termination

default (1,1)

this is a keyword parameter which is used to control valume of the messages as per the requirement. MSGLEVEL parameter has 2 subparameters which are positional parameters. Those are.

Statement :- this is used to specify types of msgs Consists of

0: job related
1: all(job/activity/allocation/termination messages
2: allocation/termination/catalog procedure messages

MSGS:- this specifies the statues of the job which consists of

0: Abnormal termination
1: Normal termination/abnormal termination

e) Typrun:- this is another keyword parameter which is used to check the syntax errors of JCL  must be coded at job level
to check syntax errors (TYPRUN= SCAN)
to check execute JCL (TYPRUN=RUN)
used to hold the job and release to the O/S  based on priority (TYPRUN=HOLD)
JCL syntax errors can also be  checked by using control list language (CLIST) command CLIST is similar to JCL this is used to generated tools and also used for syntax errors of JCL
            When hold is specified in on line peg, MVS is going to place all jobs in queue which is a dataset crated by o/s and depending on priority the job is going to be released

Command prompt : JCK ! or JEM or JSCAN
This is developed in control list developed by IBM. These are selected depending installation
MACC=          00 no errors
                        04 warning
                        08 error
                        12 sever error
                        16 permanent error
f) Notify :- this is a keyword parameter this is used to notify messages or status if the job to the user
NOTIFY= &SYSUID
This is used to notify the messages to the user who submits the job always must be coded at job level
* JOB CARD:-
            consists of  jobname, joboperands, positional parameters keyword parameters. When JOBCARD is typed in CP :_ that it is going to create a JCL peg at job level with default values. This is done only when this facility is available 

No comments:

Post a Comment