What will happen if you code GO BACK instead of STOP RUN in
a stand alone COBOL program ?
Answer Posted / nilesh
Goback will return control back to OS ie its logical ending
of program but OS will decide what to do next , but
fortunately as GOBACK is the last statement in program so
it terminates.
GOBACK is specially used for called progam but we can use
it in main(STAND ALONE) program also.
Is This Answer Correct ? | 49 Yes | 0 No |
Post New Answer View All Answers
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is the utilization of copybook in cobol?
What are the rules of the move verb?
What is an in line perform? When would you use it? Anything else you wish to say about it.
How can you get the ksds file records into your cobol program?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
) How do u handle errors in BMS macro?
What is comp-1 and comp-2?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is amode(31)
How to print 10 to 1 if the input have only 10 digit number?
How arrays can be defined in COBOL?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the difference between goback, stop run and exit program in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?