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 / rohit
c) PIC can't be specified for a group item.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is the difference between comp and comp-3 usage?
How arrays can be defined in COBOL?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is perform what is varying?
What are the cobol coding sheets?
Which division and paragraphs are mandatory for a COBOL program?
What are 77 levels used for?
how do you reference the fixed unblock file formats from cobol programs
Write down the divisions of cobol program?
Give some examples of command terminators?
What is the LINKAGE SECTION used in COBOL?
How many bytes S(8) comp field occupy and its maximum value?
What is amode(24)?
What do you understand by psb and acb?