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
What is the function of a dd statement?
how can you check if a file is empty using jcl?
define cond parameter in jcl?
What is the motivation behind coding class parameter in job statement?
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
what is the use of JCL?
What is use of restart and how to use it?
What is the function of job statement in jcl?
How is a type of file defined in the jcl that executes the cobol program?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
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?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
What is the difference between the positional and keyword parameters? Give examples.
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
How does the jcl specify the job to os?