01 xxx pic 9(4).
01 yyy pic 9(6).
move 123456 into yyy.
move yyy to xxx.
display yyy.
what would be the value of yyy
Answer Posted / siba
In numeric number alingment is right to left
truncation is done in left side
the datatype size of y is 6
so value of y is 123456
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
what is the use of outrecord?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
How do we get current date from system with century in COBOL?
how do you reference the printer file formats from cobol programs
Write the code to count the sum of n natural numbers.
how do you reference the variable unblock file formats from cobol programs
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
how do you reference the fixed unblock file formats from cobol programs
what is the difference between COBOL2 AND COBOL390?
) how do u code after getting data?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are all the divisions of a COBOL program?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
what are decleratives in cobol?
Which Search verb is equivalent to PERFORM…VARYING?