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 / kiran
Result
000123
abc
no "-" sign will come bcoze we didnt give like this
01 a pic s9(3) value is 123
01 b pic s9(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
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what happens if parmparameter passes zero bytes to the program
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is the LINKAGE SECTION used in COBOL?
What are all the divisions of a COBOL program?
What is cobol?
What is amode(24)?
Why occurs cannot be used in 01 level in COBOL?
Can you please let me know the centre name of INS certification in Kolkata.
How do you reference the following file formats from cobol programs?
Which Search verb is equivalent to PERFORM…VARYING?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Define static linking and dynamic linking.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Difference between array and sub-script ?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.