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


Please Help Members By Posting Answers For Below Questions

How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

774


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

806


How do u write test cases?

1717


How do you reference the fixed block file formats from cobol programs

805


Write a program to enter and display the names of students in a class using the occurs clause.

774






how can i see junk values in dclgen or in hostvariable of comp ?

2635


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

2034


State the various causes of s0c1, s0c5 and s0c7.

747


What are different data types in cobol?

790


What is amode(24)?

770


What is cobol?

841


What are the different open modes available in cobol?

822


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

754


Describe the cobol database components?

776


What the difference is between continue and next sentence?

751