01 a pic 9(3) value is 123
01 b pic 9(6)
move a to b
wht will be the value ? and
01 a pic x(6) value is abc
01 b pic x(3)
move a to b
wht will be the value ?
Answer Posted / pradip
1.
000123
2.
abc---
Well arthi, here - stands for blank space, correct me if am
wrong
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
how do you reference the esds vsam file formats from cobol programs
HOw can I get the negative sign while deduct high value from low value
What is the difference between comp and comp-3 usage?
What is report-item in COBOL?
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
What do you understand by psb and acb?
How to print 10 to 1 if the input have only 10 digit number?
What is rmode(24)
how to refer the data field?
What is difference between static and dynamic call in cobol?
How can you get the ksds file records into your cobol program?
What is the problem of ordered sequential files access?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is comp-1 and comp-2?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?