describe the job statement, its meaning,syntax and
significant keywords?

Answer Posted / krithiga hari

Job statement is to execute a job. It identifies the
Beginning of the job. Without this job statement, the
operating system will not execute the job.

The various keyword parameters are:

CLASS - it identifies the nature of the job that is to be
submitted
PRTY - assigns priority to the job
MSGCLASS - determines the output device to which system
messages and jcl messages are written
MSGLEVEL - specify the jcl and the allocation messages
which will be recorded on the output device specified in
the msgclass
TYPRUN - this tells whether the job is to be held until it
is released or its execution is to be suppressed altogether

Example:

//JOB1 JOB
(A123),'KRITHIGA',CLASS=E,PRTY=1,MSGCLASS=A,MSGLEVEL=(1,1),TYPRUN=HOLD

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of a dd statement?

709


how can you check if a file is empty using jcl?

816


define cond parameter in jcl?

779


What is the motivation behind coding class parameter in job statement?

692


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1487






what is the use of JCL?

666


What is use of restart and how to use it?

774


What is the function of job statement in jcl?

637


How is a type of file defined in the jcl that executes the cobol program?

716


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

637


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2223


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

673


What is the difference between the positional and keyword parameters? Give examples.

716


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1933


How does the jcl specify the job to os?

696