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

whats the diff bw the evaluate also and and?

1850


Explain the purpose of dd dummy statement?

669


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

8669


List the different components of jcl statement?

689


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

604






What is NOTCAT ?

738


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

633


what happens in conversion stage in job processing?

728


Name what parameter directs the output of the job log dataset?

557


What happens if both JOBLIB & STEPLIB is specified ?

606


Can I share my data with other jobs? How?

665


how you will the direct the data to spool using sysout option?

1761


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

778


Which statement is used to identify the private libraries in job?

674


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

1927