If we use GO BACK instead of STOP RUN in cobol?
Answer / guest
we can use both goback and stop run in cobol when there is no
call statement to show termination of the program....
if we use go back it transfer control to the main program.
else we use stop run it releases the program from the main
memory give the control back to the operating system.
| Is This Answer Correct ? | 5 Yes | 0 No |
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
At the minimum, which division of COBOL is enough to be coded?
What kind of error is trapped by on size error option?
How can I tell if a module is being called DYNAMICALLY or STATICALLY?
Name the divisions, which are available in a cobol program?
WORKING-STORAGE SECTION. 01 VAR1 COMP-2 VALUE 0. PROCEDURE DIVISION. MOVE 10.2115 TO VAR1. DISPLAY 'VAR1 =' VAR1. GOBACK. 10.2115 is stored as .10211499999999996E 02 in OS VS Cobol 10.2115 is stored as .10211500000000000E 02 in ecobol. Any reason why?
If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....
how can we get current dat and time thru cobol pgm
should I use Go back in the main program ? Yes we can use Go back in main program as well.
what is the diff b/w select stsmt and cursor ?
what is the difference between Plan & package?
What does the INITIALIZE verb do?