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 / jaganmohanreddy
answer is 123456
| Is This Answer Correct ? | 38 Yes | 4 No |
Post New Answer View All Answers
how to refer the data field?
What type of SDLC u followed? Why?
Why did you choose to work with ibm mainframe cobol programming?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is the LINKAGE SECTION used in COBOL?
What is comp-1 and comp-2?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the difference between next sentence and continue in cobol programing language?
In COBOL, what is the different between index and subscript?
What are the various section in data division and briefly explain them.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is the difference between comp and comp-3?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is a report item?
How to remove 2 duplicate records and copy only one using job control language?