Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / craig

In previous answer,

01 W-DATE-NUM PIC 9(6).
01 W-DATE REDEFINES W-DATE-NUM.
05 DD PIC 99.
05 MM PIC 99.
05 YY PIC 99.

should be the code block at the bottom, sloppy cut and
paste, sorry.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2115


i need a small 3d program using inline and outline.

2219


What are declaratives and what are their uses in cobol?

1207


What the difference is between continue and next sentence?

1178


How can you get the ksds file records into your cobol program?

1100


What kind of error is trapped by on size error option?

1250


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1146


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

2600


Can a Search can be done on a table with or without Index?

1293


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2011


Define cobol?

1413


What is an in line perform? When would you use it? Anything else you wish to say about it.

1082


What rules are to be followed while using the corresponding options?

1081


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1241


What is rmode(any) ?

1277