Can there be 2 job statements in a JCL?
If yes what is the purpose of doing tha?

Answers were Sorted based on User's Feedback



Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?..

Answer / rookie

Yes definately....For example you can combine both the
compile jcl and run jcl under one common jcl..

Regarding your 2nd question its quite childish to put up
such questions. You can tell that maybe saving some time
and space.

Is This Answer Correct ?    6 Yes 0 No

Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?..

Answer / sroul4

yes we can, but it treats both the job differently,

The file created in one job step can not be used in the
other job steps.

Is This Answer Correct ?    2 Yes 1 No

Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?..

Answer / mr.perfect

we can use two job statement in single JCL, i think it is
not necessary to use two job statements in single JCL,
because a single job can execute compile and RUN jcl with
single JOB statements.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

0 Answers  


what will be the error code if duplicate key of VSAM file is found?

1 Answers   HSBC, Kings,


What is timing concept in mainframe?

0 Answers  


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

0 Answers   IBM,


How to view the hexa decimal value thru file aid if copy book is not present for that particular data

1 Answers  






File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3

7 Answers  


Name the parameters which can be used to limit the number of records written to a sysout dataset?

0 Answers  


My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........

2 Answers  


how to skip the steps in JCl

2 Answers   EDS,


how do u see jobs submitted before ur job ?

1 Answers  


can any one plzzzzzz tell the jcl code for creating ps using idcams

2 Answers   Fiserv,


if the submitter of a job wants to inform another user about the job completion, how can it be done?

0 Answers   IBM,


Categories