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 |
how to submit a jcl by cobol program. clear me with an example.
what happens when a copybook variables are declared using include statement ?
What is the file organization clause ?
What is SDSF?
9(2).99 how many bytes take? Why . consider as a byte?
can we use reference modification an arry.
how will u code parm parameter and where pls ?
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
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?
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 ?
When would you use in-line perform?
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?