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

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

807


What dd statement is used to supply the name of a dataset?

779


what sort card you will use to copy the data from one dataset to another dataset?

730


What are the parameter we cannot use in procedure?

640


what are the types of abends that occur on job failure? And explain the possible causes of these

1118






What are the difference between jcl and jes?

1050


Define concatenating?

667


when can a job time-out occur? How to overcome that?

753


How does jcl act on a cobol code?

659


Explain how can a jobs execution priority be modified?

742


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

860


What is job control language?

611


List the various advantages of using jcl language?

852


Can I share my data with other jobs? How?

670


State the uses of syspring, sysin, sort fields, sum fields and dummy.

654