I am sending values a and b with pic x(10) and pic x(10) by
using call statement.
In linkage section, I am receiving values with pic x(10)
and pic x(11).
Will my program fail? will it be compile error or run time
abend?
Answer Posted / meera
Program will execute successfully. But truncation will
occur. If the data is numeric then MSB will truncate. If the
data type is Alphabet then Right most alphabet get truncated
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How you can read the file from bottom?
i need a small 3d program using inline and outline.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Are you comfortable in cobol or jcl?
how do you reference the ksds vsam file formats from cobol programs
Which is not true about evaluate statement
example for sub strings ? and refernce modifications whit output pls
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is the difference between Call and a Link?
Name the divisions, which are available in a cobol program?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How do you reference the fixed block file formats from cobol programs
) How do u handle errors in BMS macro
explain sorting techniques in cobol program?