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
Write the code to count the sum of n natural numbers.
Name some of the examples of COBOl 11?
how do you reference the variable unblock file formats from cobol programs
What are all the divisions of a COBOL program?
Which division and paragraphs are mandatory for a COBOL program?
Which mode is used to operate the sequential file?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
How do define dynamic array in cobol.
) what is the difference between AID and HANDLE AID?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Describe the cobol database components?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
In COBOL programming, what is PERFORM? What is VARYING?