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
how to refer the data field?
In which area will you utilize 88 level items in cobol?
Why occurs cannot be used in 01 level in COBOL?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What are the different rules to perform a Search?
what is search and searchall?what is the diffrence between them?give an best example?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
how do you reference the printer file formats from cobol programs
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
how do you reference the ksds vsam file formats from cobol programs
Define cobol?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is the difference between binary search and sequential search?