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


Please Help Members By Posting Answers For Below Questions

Which is not true about evaluate statement

1586


How do we get current date from system with century in COBOL?

806


What rules are followed by the search verb.

638


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

422


What is rmode(24)

680






How do you define a variable of comp-1 and comp-2?

705


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

690


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2661


What is Pic 9v99 Indicates in COBOL?

729


Name the divisions, which are available in a cobol program?

685


) How do u handle errors in BMS macro?

1429


Write down the divisions of cobol program?

671


how to convert the recors form vsam file to db2 table tru file aid

2763


What is link edit in cobol?

772


What is the difference between comp and comp-3?

704