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

I have a sequential file. How do I access a record in this sequential file randomly in my program ?

8 Answers   CGI, Xansa,


Can we put move statement in COBOL copybook

3 Answers   Global Logic,


Describe the cobol database components?

0 Answers  


wht is the diff b/w if and evaluate stmts ?

2 Answers   DELL,


What rules are to be followed while using the corresponding options?

0 Answers  






can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)

13 Answers   CTS,


wht r the advantages of 77 level number ?

8 Answers   TCS,


OCCURS clause is used in the DATA DIVISION on data names at (a) 01 level (b) 77 level (c) 88 level (d) any level from 02 to 49

13 Answers   TCS,


using redefine can you redefine lower variable size to higher variable size?

3 Answers   Patni,


How can you add a particular field in copybook?

2 Answers   L&T,


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

0 Answers   Cap Gemini,


wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?

2 Answers   EDS,


Categories