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 do you feel makes a good program?

1 Answers  


How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

0 Answers  


How many days does a job remain in spool

7 Answers   Syntel,


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

0 Answers  


Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance

2 Answers   Cap Gemini,






Is there any command to check wether the ps file is in sorted order?

0 Answers   IBM,


i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?

1 Answers   IBM,


what is DD statement is used in JCL?

0 Answers  


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

1 Answers   Tesco,


How does jcl specify the job to the operating system?

0 Answers  


What is the use of the utility DFSRRC00 in the JCL?

2 Answers   Convergys,


Differentiate between addressing mode and run mode.

0 Answers  


Categories