What is wrong with the following data declaration?
01 W-DATE PIC X(6).
05 DD PIC 99.
05 MM PIC 99.
05 YY PIC 99.
(a) Nothing is wrong.
(b) Under W-DATE all level 05 items are having a PIC 99 but
level
01 has PIC X(6).
(c) PIC can't be specified for a group item.
(d) DD, MM, and YY are invalid datanames.
Answer Posted / elite group
c) PIC clause can't be specified the group item
| Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Differentiate between structured cobol programming and object-oriented cobol programming.
What is difference between static and dynamic call in cobol?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is comp-1 and comp-2?
What are different data types in cobol?
Write the code implementing the perform … varying.
What is amode(31)
Why did you choose to work with ibm mainframe cobol programming?
what are decleratives in cobol?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What are the different rules to perform a Search?
Give some examples of command terminators?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What are the different open modes available in cobol?