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 / vjay
we cannot move yyy to xxx ....see the data length
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How do u write test cases?
How do you reference the fixed block file formats from cobol programs
Write a program to enter and display the names of students in a class using the occurs clause.
how can i see junk values in dclgen or in hostvariable of comp ?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
State the various causes of s0c1, s0c5 and s0c7.
What are different data types in cobol?
What is amode(24)?
What is cobol?
What are the different open modes available in cobol?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Describe the cobol database components?
What the difference is between continue and next sentence?