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
What is the utilization of copybook in cobol?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Name the divisions, which are available in a cobol program?
What the difference is between continue and next sentence?
what is the use of outrecord?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What is the difference between a binary search and a sequential search what are the pertinent cobol?
A table has two indexes defined. Which one will be used by the SEARCH?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What are the pertinent COBOL commands?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Have you used comp and comp-3 in your project? And how?
Can a Search can be done on a table with or without Index?
In COBOL, what is the different between index and subscript?
What is the Purpose of POINTER Phrase in STRING command in COBOL?