09-11-2016, 03:12 PM
1467878677-Presentation.pdf (Size: 360.69 KB / Downloads: 5)
Describes to the operating system the work that has to be done and the
resources required to do the work.
● JCL AND ITS FEATURES:
-Consists of a set of statements called as Job Control Statements
-Group of related JCL statements is known as Job
- JCL consists of one or more Jobs
- Job consists of Job steps to execute the instructions (tasks)
Identifier Field
● Identifier field indicates to the system that a
statement is a JCL rather than data
Code the Identifier field beginning in column 1
Consists of
Column 1 and 2 of all the JCL statements (//)
Column 1 2 and 3 of a JCL statement ( //* for
comment)
Column 1 and 2 to mark end of data (/*)
Name field
● Identifies a particular statement so that the other
statements and the system can refer it.
Syntax
● name should start in column 3
● name is 1 through 8 alphanumeric
● name should be followed by a blank
● first character should be a alphabetic or national
( $, #, @)
Operation Field
● Specifies the type of the statement
● Consists of characters in the syntax box for the
statement
● Follows the name field
● Operation must be followed and preceded by at least
one blank
● Must begin on or before column 16
Parameter or Operand Field
● Also called as Operand field
● Must end before column 62
● Contains parameters separated by commas
● Positional and Keyword Parameters. An eg.
//RT452216 JOB 45992,CLASS=A
● All positional parameters must precede all keyword parameters
● Sub-parameters may be coded under Parameters to add further
meaning to the statement An example.
● //RT452216 JOB (45992,100,40),COND=(9,LT)
Comment Field
● Used to enter a comment in the output listing
● Used to document a job and its resource
requirements
● Can be placed anywhere after the job statement
● Appears as //* in Column 1, 2 and 3
● Comment field can be coded till Column 80
Positional Parameters
● Job Statement can contain two positional parameters
● First parameter should contain Accounting
Information and the second parameter should
contain the Programmer’s name
● These two parameters are optional, but installation
may define them as mandatory.
Key Word Parameters
● The Job Statement (or Job Card) can contain the following
Keyword parameter
● CLASS
● TIME
● REGION
● MSGLEVEL
● COND
● TYPRUN
● PRTY