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?
Answers were Sorted based on User's Feedback
Answer / vs kumar
NOTHING WILL HAPPEN. PROGRAM WILL EXECUTE SUCCESSFULLY.
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / 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 |
Answer / bharath
No error will occur. Data will terminate to 10 Fields.
Is This Answer Correct ? | 2 Yes | 3 No |
What is ASKTIME, SUSPEND
01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?
what is the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the reminder of B/A is stored in C c.C=B/A d.the reminder of A/B is stored in C
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
i need a small 3d program using inline and outline.
Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?
7 Answers Bank Of America, Mind Tree,
what is filler and what is use of filler
what will happen if pass values more than 100 using PARM parameter?
How can you declare the file ?
input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.
What is file status 39 ?
TYPES OF SORTINGS. which is more prefarable.