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
What are the different rules of SORT operation?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What are the pertinent COBOL
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Can we redefine the field of x(200) to less than 200?
what happens if parmparameter passes zero bytes to the program
What are all the divisions of a COBOL program?
What kind of error is trapped by on size error option?
Differentiate between structured cobol programming and object-oriented cobol programming.
how do you reference the fixed unblock file formats from cobol programs
Which division and paragraphs are mandatory for a COBOL program?
how can i see junk values in dclgen or in hostvariable of comp ?
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.
Are you comfortable in cobol or jcl?
How can you get the ksds file records into your cobol program?