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 can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Can we redefine the field of x(200) to less than 200?
What is amode(24)?
) how do u code after getting data?
In COBOL, what is the different between index and subscript?
What is the difference between perform … with test after and perform … with test before?
Write the code implementing the perform … varying.
How can you get the ksds file records into your cobol program?
What is the difference between goback, stop run and exit program in cobol?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is comp-1 and comp-2?
How do define dynamic array in cobol.
Write a cobol program making use of the redefine clause.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
) what is the difference between AID and HANDLE AID?