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
Explain what you understand by passing by value.
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
what are decleratives in cobol?
Explain the configuration section of a cobol program with examples of syntax.
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 COBOL2 AND COBOL390?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
how do you reference the esds vsam file formats from cobol programs
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
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.
Which division and paragraphs are mandatory for a COBOL program?
how do you reference the ksds vsam file formats from cobol programs
How do we get current date from system with century in COBOL?