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
HAI ALL U R WRITING DIFFERENT ANSWERS BUT THEY ARE ASKING
FOR YYY VALUE IT WONT BE CHANGED IT HAS VALUE OF 123456
BECAUSE ITS PIC CLAUSE IS 9(6) OK THEN DISPLAY YYY IT WIL
DISPLAY 123456 OK ANY DOUBTS
| Is This Answer Correct ? | 55 Yes | 3 No |
Post New Answer View All Answers
What are all the divisions of a COBOL program?
Can we change the password using ALTER? anyone tried and changed?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Difference between array and sub-script ?
Which division and paragraphs are mandatory for a COBOL program?
What is the utilization of copybook in cobol?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the difference between next sentence and continue in cobol programing language?
Define static linking and dynamic linking.
How do define dynamic array in cobol.
how do you reference the variable block file formats from cobol programs
How do you define a variable of comp-1 and comp-2?
In which area will you utilize 88 level items in cobol?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Give some examples of command terminators?