Should I use STOP RUN in the sub program??why?
Answer Posted / narasimha reddy.k
If STOP RUN is used in the sub program, execution will
terminate there itself and it will never come to main
program. Thats why we have to use EXIT PROGRAM or GOBACK in
the sub programs.
Normally, we will code STOP RUN only in main programs not
in sub programs.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between perform … with test after and perform … with test before?
How do you reference the fixed block file formats from cobol programs
how to convert the recors form vsam file to db2 table tru file aid
Difference between cobol and cobol-ii?
What is comp-1 and comp-2?
Why did you choose to work with ibm mainframe cobol programming?
What are the different rules to perform a Search?
How arrays can be defined in COBOL?
Can a Search can be done on a table with or without Index?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Which division and paragraphs are mandatory for a COBOL program?
what happens if parmparameter passes zero bytes to the program
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
example for sub strings ? and refernce modifications whit output pls