is it possible to submitt more than one job in job card in
jcl? and if yes than is it necessary to have the jobs same
name?

Answer Posted / muttaiah

1. There can be only 1 job in a jobcard.
2. There can be multiple jobs in the JCL(Job stream, I mean
the file-PS/PDS in which you have your jcl)
3. Say when you submit the JCL with 2 jobs, jobs will be
submitted, The job having class & priority as higher will
execute first. well let me give you an example.

JOBA(Jobname1) - Class(A), Priority(10)
JOBB(Jobname2) - Class(A), Priority(12)

In this case, JOBB will run first instead of jobA since
priority is higher.

Say you want to run JOBB only after the execution of JOBA
then make the job name same as JOBA

Change Jobname2 as Jobname1 and submit the jcl.

JOBB will run only after JOBA.

Hope your understand

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

844


How to do automated restart when a job abend?

897


Is it possible to code instream data in a PROC?

855


How can a fb file convert to vb file using sort program?

922


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

839






Explain how can the submitting users racf authority be overridden in a job stream?

758


List the different components of jcl statement?

783


Give the syntax of job specifying jcl statement.

713


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

765


Is it possible to left uncode disp? If yes, how?

787


what is DSN in JCL and what are the parameters to declare the DSN?

821


WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375

1152


What is catelog procedure and how many catelog procedure to use in one job?

7717


What happens if both JOBLIB & STEPLIB is specified ?

701


Are there any set of rules for the names of the steps used in a job? What are they?

682