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
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How many bytes S(8) comp field occupy and its maximum value?
What is Pic 9v99 Indicates in COBOL?
What rules are followed by the search verb.
What is inspect in cobol ?
What are declaratives and what are their uses in cobol?
Write a program to explain size error.
Name the sections present in data division.
How can you get the ksds file records into your cobol program?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
How you can read the file from bottom?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What are different data types in cobol?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is rmode(any) ?