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
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Write a program to explain size error.
What is Pic 9v99 Indicates in COBOL?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How do you define a variable of comp-1 and comp-2?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
) How do u handle errors in BMS macro
What is the Purpose of Pointer in the string?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Why did you choose to work with ibm mainframe cobol programming?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Whats the difference between search & search ALL?
What is the usage of comp fields in cobol?
What is inspect in cobol ?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic