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 / vishal
allways value & move display from rigt to left or accept
lalue left to riht ans 3456
Is This Answer Correct ? | 4 Yes | 11 No |
Post New Answer View All Answers
What is a report item?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How you can characterize tables in cobol?
What is cobol?
What is perform what is varying?
What is the difference between binary search and sequential search?
What is comp-1 and comp-2?
what happens if parmparameter passes zero bytes to the program
In COBOL programming, what is PERFORM? What is VARYING?
Define static linking and dynamic linking.
Explain what you understand by passing by value.
how to convert the recors form vsam file to db2 table tru file aid
What is the Purpose of Pointer in the string?
What are all the divisions of a COBOL program?