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


Please Help Members By Posting Answers For Below Questions

Write a program to enter and display the names of students in a class using the occurs clause.

652


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10610


Why did you choose to work with ibm mainframe cobol programming?

631


What are the different data types in cobol?

797


what happens if parmparameter passes zero bytes to the program

1667






What is a scope terminator give example?

657


How do we get current date from system with century in COBOL?

805


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661


) how do u code after getting data?

1580


how do you reference the esds vsam file formats from cobol programs

634


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...)

1931


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2105


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

998


) what is the difference between AID and HANDLE AID?

1636


What are all the divisions of a COBOL program?

663