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 / nagarajeswari
output will be 3456
| Is This Answer Correct ? | 9 Yes | 16 No |
Post New Answer View All Answers
what is amode(24), amode(31), rmode(24) and rmode(any)?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How many bytes S(8) comp field occupy and its maximum value?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Why did you choose to work with ibm mainframe cobol programming?
What is an in line perform? When would you use it? Anything else you wish to say about it.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Can a Search can be done on a table with or without Index?
What is perform what is varying?
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?
How do u write test cases?
A table has two indexes defined. Which one will be used by the SEARCH?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?