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

I have three files for one step i need to override the third file how to do that in jcl?

1 Answers   UST,


how can i use the parameters decalred in main pgm in sub pgm

2 Answers   TCS,


What is the function of job statement in jcl?

0 Answers  


Suppose there r total 10 steps. Out of which i want to execute only the 7th step. How can i do that....????

3 Answers  


We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.

6 Answers  






what is the restart?hopw it is invoked?

1 Answers  


I have a COBOL program that Accepts some input data. How do you code the JCL statement for this? ( How do you code instream data in a JCL? )

9 Answers  


with out sorting how to copy records from one file to another file using jcl.Mean I have one input file in which the record are like 1,6,5,4,2,3(for example) and i want to copy to output file from top to bottom(without sorting) like 3,2,4,5,6,1.so I want the JCL for this.cna any one can answers?

1 Answers   TCS,


In a single step if input file is present then only need to copy into output file or else need to through a RC is it possible. Note : i want it in a single step

1 Answers  


what is meant by jobtrac?

4 Answers   CSC,


Using DELETE what type of file can you delete? a)SEQUENTIAL FILE B)INDEXED FILE C) D) Some options were there..i cant remember

3 Answers   HSBC,


1) max no of steps with jcl job can execute 2) how many extentions r possible in sequencial files with job 3) what is set parameter will do 4)how to get syntax errors without sub 5) what is differ between error and abend 6) hw mvs knows who submitted the job and whoom it has to forward 7) what are the positinal parameters of data descripter

1 Answers   L&T,


Categories