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 default value(s) for an initialize and what keyword allows for an override of the default?
What is amode(31)
What is the compute verb? How is it used?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What do you understand by psb and acb?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
how to move the records from file to array table. give with code example
What is link edit in cobol?
How to remove 2 duplicate records and copy only one using job control language?
how do you reference the variable unblock file formats from cobol programs
When is inspect verb is used in cobol?
What are different data types in cobol?
) How do u handle errors in BMS macro
Whats the difference between search & search ALL?
How you can read the file from bottom?