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 / gangadhara.m
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 ? | 8 Yes | 2 No |
Post New Answer View All Answers
How do you reference the following file formats from cobol programs?
What rules are followed by the search verb.
how to convert the recors form vsam file to db2 table tru file aid
What are 77 levels used for?
How many bytes S(8) comp field occupy and its maximum value?
How do you differentiate between cobol and cobol-ii?
What rules are to be followed while using the corresponding options?
how do you reference the ksds vsam file formats from cobol programs
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Write some characteristics of cobol as means of business language.
How to know whether the module is dynamical or statistical?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Are you comfortable in cobol or jcl?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..