should I use Go back in the main program ? Yes we can use
Go back in main program as well.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / raj
yes we can use goback in the mainprogram only if it is a
standalone program.
| Is This Answer Correct ? | 4 Yes | 1 No |
What is static and dynamic call in cobol?
How to define a array dynamically.....
If we use GO BACK instead of STOP RUN in cobol?
What is the maximum size of a 01 level item in COBOL I? in COBOL II?
How to retain the Duplicates in the one records?
At the minimum, which division of COBOL is enough to be coded?
I need to compare two VSAM files, both having 'number' as key. If there is a matching record, write the data into another VSAM file. How will it be possible.
What is file status 39 ?
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......
How do you do in-line PERFORM?
what is the minimum number of lines a Cobol program should have to successfully compile and run
11 Answers ABC, Societe Generale,
I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?