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

Can we create VSAM file by using IEBGENER?

4 Answers   Principal Finance,


I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?

10 Answers   iGate,


wht is the d/f between positional parameter n keyword parameter ?

1 Answers  


What is the difference between sb37,se37,sd37 each?

9 Answers   TCS,


A job has 150 steps i want to execute only 57th step

3 Answers   Cognizant,






I have one GDG. Everyday One new version is being created.Now I want to split this created version in different files each having 1000 records. Here Problem is I don't know How many records will be there in new version of GDG? that's why I don't know How many Out files we need to use . Interesting??????????????

4 Answers   CTS,


Min no of member?s (PDS) in one directory block?

10 Answers  


What statement marks the end of an in-stream or catalogued procedure?

1 Answers  


I have a jcl which is using 2 data sets i want to override those data sets. how can i override the files within the JCL. Give me the syntax. Make sure that it is not calling any Proc.

1 Answers  


i have five step in jcl.my forth step is gdg.gdg was abend.when will job complete,hoe to handle you

3 Answers   L&T, Wipro,


Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?  

1 Answers   TCS,


Is it possiable to use a gdg in the INCLUDE statement in a SORT jcl? I am using this because I want to change the condition with out changing the jcl. Please provide with a sample code.

1 Answers  


Categories