If by mistake we MOVE a working storage variable into
LINKAGE area. What will happen??

Answers were Sorted based on User's Feedback



If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??..

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

If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??..

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

If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??..

Answer / manasamurari

mismatch of sending variables will lead to soc4 abend

Is This Answer Correct ?    6 Yes 1 No

If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??..

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

Post New Answer

More COBOL Interview Questions

what is scope terminator

2 Answers   IBM,


What is the difference between binary search and sequential search?

0 Answers  


How many sections are there in data division in COBOL?

0 Answers   B-Ways TecnoSoft,


can i give 9(10) in comp 3 instead of s9(10) ? if i can give wht would be ths ans

2 Answers   DELL,


i WANT ALL ERROR codes IN CICS and DB2

2 Answers  






how we rectify soc4 and soc7 error in project(need real time answer)? please reply

3 Answers   HCL, Wipro,


How do you come out of an EVALUATE statement?

3 Answers  


SIGN TRAILING SEPARATE field occupy ?

3 Answers  


Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.

2 Answers   IBM,


i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

1 Answers   HCL,


What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?

3 Answers   Xansa,


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

0 Answers  


Categories