If by mistake we MOVE a working storage variable into
LINKAGE area. What will happen??
Answers were Sorted based on User's Feedback
Answer / rekha
at compilation time only it will give a warning message that
the variable or data item that did not have a addressability
if you ignore the warning message and proceeds with runcobol
then it will produce a S0C4 error message.
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / hari
The problems outcome may be different.
A few cases where i found this reason, the problem that was
occuring was a SOC4 Abend.
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / manasamurari
mismatch of sending variables will lead to soc4 abend
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / dharma
If we pass the value of working storage variable to LInkage
variable and that variable uses as input to the another sub
program nothing will happen.
| Is This Answer Correct ? | 8 Yes | 3 No |
what are the utilities for load and unload the DB2 tables
I want ALL jcl ERROR cods
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?
What will happen if we generate GDG +2 version instead of +1 version?
What rules are to be followed while using the corresponding options?
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?
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....
What is the maximum data length for Numeric DataType ?
How to read the last 100 records from a COBOL file. The file contains N number of records.
given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1
Explain Restart Logic in Cobol?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)