Should I use STOP RUN in the sub program??why?

Answer Posted / veni

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 only GOBACK in the sub
programs.

Normally, we will code STOP RUN only in main programs not
in sub programs.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Purpose of Pointer in the string?

650


Name the divisions, which are available in a cobol program?

696


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

690


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1621


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

791






What are the various section in data division and briefly explain them.

709


How do u write test cases?

1643


How to know whether the module is dynamical or statistical?

666


What is difference between static and dynamic call in cobol?

789


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

685


What is report-item in COBOL?

718


how to move the records from file to array table. give with code example

2230


How to print 10 to 1 if the input have only 10 digit number?

821


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

713


how do you reference the fixed unblock file formats from cobol programs

719