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
What are the different rules of SORT operation?
example for sub strings ? and refernce modifications whit output pls
What is the difference between PIC 9.99 and 9v99 in COBOL?
What do you understand by psb and acb?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Write a program to explain size error.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How to remove 2 duplicate records and copy only one using job control language?
What are the different data types in cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is the problem of ordered sequential files access?
) how do u code after getting data?
What are the access modes of START statement?
Explain the configuration section of a cobol program with examples of syntax.
How do you get the data to code the BMS macro?