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 / sachin
We never specified pic clause on group level item.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Write the code implementing the perform … varying.
Are you comfortable in cobol or jcl?
What are the different types of condition in cobol and write their forms.
Which mode is used to operate the sequential file?
What are literals?
What rules are to be followed while using the corresponding options?
What the difference is between continue and next sentence?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
what happens if parmparameter passes zero bytes to the program
What is a scope terminator give example?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How do you reference the following file formats from cobol programs?
what is the difference between COBOL2 AND COBOL390?
What is the difference between goback, stop run and exit program in cobol?