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
Write some characteristics of cobol as means of business language.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the compute verb? How is it used?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
How to print 10 to 1 if the input have only 10 digit number?
Define static linking and dynamic linking.
what is amode(24), amode(31), rmode(24) and rmode(any)?
Why would you use find and get rather than to obtain?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
how do you reference the printer file formats from cobol programs
What is the difference between PIC 9.99 and 9v99 in COBOL?
How arrays can be defined in COBOL?
Write a program to explain size error.
What are all the divisions of a COBOL program?