Tuesday, July 2, 2013

JCL BASIC PARAMETERS


CLASS= Identifies the JES job class this job will execute under. Job classes are setup at the JES initialization. CLASS places the job into a JES input queue
CLASS is one character, A-Z or  0-9.
MSGCLASS= Assigns the job Log to an output class. One Character long A-Z or  0-9.
A : Print on standard form
B: Punch
MSGLEVEL= It controls which statement will be printed on the job log.
0: Prints only the JOB statement
1: Prints all JCL and JES statements
2: Prints only submitted JCL and JES statements.
Positional parameters
*
DATA
DUMMY
DYNAM
Keyword Parameters
DSN
DISP
UNIT
SPACE
DCB
VOLUME
EXEC  Statement Defines the begining of the step in the job or procedure. There Can be max 255 EXEC Statements in a job.
SPACE PARAMETER: Used to Allocate Space for datasets.
Syntax  ->  SPACE=(CYL,(primary,secondary,directory),RLSE,CONTIG,MXIG,ROUND)
                 Instead of CYL, We can use TRK or BLK

TRK: Requesting space in track
CYL: Requesting space in cylinders
PRIMARY:Primary storage to be allocated at the time of data set created
SECONDARY: Additional storage to be allocated, If primary storage is not sufficient
DIRECTORY:Space for recording of name and location of partitioned data sets
RLSE:Request for release of space previously allocated unused space after completion of job
CONTIG : Request for contiguous space
MXIG:  Request for large aread of contiguous space
ROUND: Request for entire cylinder for storage of data set

UNIT: Identifies the Device or the type of device on which the dataset will be allocated.
Example:
UNIT=SYSDA  /* Allocates the data on DASD*/
UNIT=3390      /*Allocates data set on 33390 type disk*/
UNIT=TAPE    /* Allocate on tape*/
DCB  PARAMETER(DATA CONTROL BLOCK):
Specifies the characteristics of the dataset
LRECL   :  Record Length
RECFM  :  Record Format
BLKSIZE:  Block Length

2 comments:

  1. hi i have a doubt may i know the mandate parameters in jobcard

    plz post the answer

    thank you

    ReplyDelete