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 access the file from prodution from changeman tool and to submit a file to production
what is the advantage of sync class
why occurs clause not mentioned in 01 level
6 Answers HCL, NIIT, TCS, Tesco,
Hai friends why we need to read a file before re-write a record?
I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.
can we read records in a file from botom to top. if possible how can we read
Which is the best IBM mainframe Training Institute in Ameerpet, Hyderabad
If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?
How many bytes S(8) comp field occupy and its maximum value?
How is sign stored in a comp-3 field?
What rules are followed by the search verb.
What are differences between Static Call and Dynamic Call?
10 Answers IBM, KBC, Keane India Ltd, Verizon,