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 aligment from right to left
truncation is in left side
the data type size of y is 9
so the value of y is 000123456
| Is This Answer Correct ? | 3 Yes | 12 No |
Post New Answer View All Answers
Difference between cobol and cobol-ii?
Write down the divisions of cobol program?
how can i see junk values in dclgen or in hostvariable of comp ?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Write the code implementing the perform … varying.
What is comp-1 and comp-2?
what are decleratives in cobol?
What rules are to be followed while using the corresponding options?
Explain what you understand by passing by value.
what is the use of outrecord?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Why occurs cannot be used in 01 level in COBOL?
What is the difference between binary search and sequential search?