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

how to submit a jcl by cobol program. clear me with an example.

3 Answers   HCL,


what happens when a copybook variables are declared using include statement ?

3 Answers   IBM,


What is the file organization clause ?

2 Answers  


What is SDSF?

13 Answers   IBM,


9(2).99 how many bytes take? Why . consider as a byte?

2 Answers  






can we use reference modification an arry.

1 Answers  


how will u code parm parameter and where pls ?

3 Answers   DELL,


Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above

7 Answers   TCS,


I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?

1 Answers  


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  


When would you use in-line perform?

2 Answers  


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

0 Answers  


Categories