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 / anshu puri
cobol dont allow to use PIC clause at 01 level
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
Why occurs cannot be used in 01 level in COBOL?
Define static linking and dynamic linking.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
) how do u code after getting data?
how do you reference the variable unblock file formats from cobol programs
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Are you comfortable in cobol or jcl?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How do u write test cases?
State the various causes of s0c1, s0c5 and s0c7.
Can a Search can be done on a table with or without Index?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What are the different data types in cobol?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Can you please let me know the centre name of INS certification in Kolkata.