What will happen if we write two STOP RUN's in a COBOL
program?

Answers were Sorted based on User's Feedback



What will happen if we write two STOP RUN's in a COBOL program?..

Answer / harish

ONLY ONE WILL EXCUTE, THAT IS THE FIRST ONE

Is This Answer Correct ?    33 Yes 1 No

What will happen if we write two STOP RUN's in a COBOL program?..

Answer / suresh

The two STOP RUN statements are valid and the statement
which one will be processed first, will be executed first
and control return back to the operting system.

Is This Answer Correct ?    31 Yes 0 No

What will happen if we write two STOP RUN's in a COBOL program?..

Answer / guest

end of the execution

Is This Answer Correct ?    2 Yes 4 No

What will happen if we write two STOP RUN's in a COBOL program?..

Answer / mr.perfect

if we run the two
STOP RUN.
STOP RUN.

WE WILL GET ABEND S013

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More JCL Interview Questions

If Region=0k means What Happen?

2 Answers   IBM,


What u mean by include statement in JCL ?

3 Answers  


Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?

4 Answers  


How do you find which GDG is using which dataset?

3 Answers   Patni,


when does a dataset go uncataloged?

0 Answers   IBM,


describe the exec statement,its meaning ,syntax and keywords?

3 Answers  


What is S322 abend ?

5 Answers  


What is NOTCAT ?

0 Answers  


what is the use of temporary files?

5 Answers   Hexaware,


wht do u mean by notify parameter, how can u give acess to multiple users ?

4 Answers   L&T,


How gdg are concatenated?

0 Answers  


A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)

2 Answers   IBM,


Categories