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.
when we submit job or jobs ....jobs get different classes..
if job name is same output would be unpredictable coz MVS
can run any of the job..once job is executed MVS is not
going to execute another job with the same name.
so the jobs with the same name will be executed but output
will be unprectable.
Is This Answer Correct ?
Other JCL Interview Questions
One dataset is creating in the step1 with LRECL of 133 and
the same dataset is used in the next step in DISP=SHR mode,
but while scanning the JCL the following error is thrwon.
Please verify the below JCL
//SEPP040 EXEC PGM=FILEAID,COND=
//DD01 DD DSN=SYSCMN.PROD.CCLIB
$/SEPP040.DD01 DD DSN=Z1225BT.TEST.CCLIB
E1 - DSS20791E - DATA
SET 'Z1225BT.F5910EPP.ERRORRPT.AOUTPUT' HAS AN
LRECL OF 133 COULD NOT BE OPENED BECAUSE
please find the error code in the above mentioned lines and
please suggest me about the error and the solution for that.
i have 10 steps in my jcl.
-->if i want to execute my program from 5th step what i
have to do? don't give //* in ur previous steps
--> if i want to execute my program from 1to 5 steps only
what i have to do?