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 / mahaveer
Here if u display YYY it will 123456
and if u display xxx it will 3456
Hope its clear
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Write some characteristics of cobol as means of business language.
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
Discuss about changing dataset name in proc.
What kind of error is trapped by on size error option?
Explain about different table spaces.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
In COBOL programming, what is PERFORM? What is VARYING?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What are the different data types in cobol?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the utilization of copybook in cobol?
Are you comfortable in cobol or jcl?