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 are the pertinent COBOL
Can we redefine the field of x(200) to less than 200?
What is cobol?
How can you get the ksds file records into your cobol program?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is the difference between PIC 9.99 and 9v99 in COBOL?
Write a cobol program making use of the redefine clause.
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.
what happens if parmparameter passes zero bytes to the program
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are 77 levels used for?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How do get the result of your program directly on your pc?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech