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


Please Help Members By Posting Answers For Below Questions

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?

2093


What is the utilization of copybook in cobol?

650


What are the rules of the move verb?

701


What is an in line perform? When would you use it? Anything else you wish to say about it.

641


How can you get the ksds file records into your cobol program?

639






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.

5673


) How do u handle errors in BMS macro?

1425


What is comp-1 and comp-2?

756


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

817


What is amode(31)

716


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

808


How arrays can be defined in COBOL?

661


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1912


What is the difference between goback, stop run and exit program in cobol?

920


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

704