should I use Go back in the main program ? Yes we can use
Go back in main program as well.

Answer Posted / sanjeev gupta

We can use goback both in main program and sub program. The
difference is that only, in case of sub program: after the
successful execution the control will pass to main program
whicle in case of main program:the control will pass to OS.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

685


What is the difference between Call and a Link?

707


What are the different rules for performing sort operation?

770


Have you used comp and comp-3 in your project? And how?

2014


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1668






What are the different types of condition in cobol and write their forms.

670


When is inspect verb is used in cobol?

683


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

640


What are the different open modes available in cobol?

726


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5386


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

836


how do you reference the esds vsam file formats from cobol programs

641


what are decleratives in cobol?

1831


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

754


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

729