Should I use STOP RUN in the sub program??why?
Answers were Sorted based on User's Feedback
Answer / s
Stoprun return the cursor to the OS, subprogram cursor will
be return to the main program that’s way we coded
exitprogram or goback
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / 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 |
If we use STOP RUN in the sub program, in sub program
itself will terminate the execution and the control will
not come back to the calling program or main program.
Instead we can use "EXIT PROGRAM". This command will pass
the control to main program.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / 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 |
how to crack cts interview apps? NOVEMBER 21 2010
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Have you used comp and comp-3 in your project? And how?
01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?
what is dynamic array in cobol? what is the difference b/w array and table in cobol?
In COBOL, what is the different between index and subscript?
0 Answers TryTechnicals Pvt Ltd,
What is the maximum data length for Numeric DataType ?
How do you define a table/array in COBOL?
77 a pic x(4) value '1234' -----> instead of this 'abcd' 77 b pic 9(4) value zeros. move a to b what is the answers for both cases? IS it possible? Give me elementary move rules briefly......
What is a report item?
What is link edit in cobol?