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 is the difference between goback, stop run and exit program in cobol?
What are the different data types in cobol?
how to access the file from prodution from changeman tool and to submit a file to production
Why would you use find and get rather than to obtain?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Can a Search can be done on a table with or without Index?
How to print 10 to 1 if the input have only 10 digit number?
Write a program to explain size error.
What rules are to be followed while using the corresponding options?
What is the difference between PIC 9.99 and 9v99 in COBOL?
How do you reference the following file formats from cobol programs?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is cobol?
) How do u handle errors in BMS macro?