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 will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).
what is the advantage of sync class
Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?
what are the diferences b/w sub-script and index?
How to concatenation one or more string?
what is the maximum error code in mainframe
in cobol i have one file it contains records like 10,4,23,98,7,90..... total records 100. iwant 10 to 20 in reverse order in cobol environ ment any one please give the answer......
why do u need inspect verb?
Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?
What is mean by maxcc
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is SDSF?