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 / elite group
c) PIC clause can't be specified the group item
| Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is cobol?
Describe the cobol database components?
In COBOL programming, what is PERFORM? What is VARYING?
What rules are followed by the search verb.
Write down the divisions of cobol program?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What the difference is between continue and next sentence?
Why did you choose to work with ibm mainframe cobol programming?
What are the different data types in cobol?
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
What are the different rules of SORT operation?