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

Can we use redefine clause in occurs clause?

Answer Posted / leroy

Answer #2 is incorrect for IBM COCOL compiler.

Answer #1 is correct but incomplete. a) "VALUE" close can
not be used in occurring fields b) Occuring fields are the
ones that will redefine other fields not the other way
round.
Example: CORRECT
01 LIT-FIELD PIC X(21) VALUE 'SUNMONTUEWEDTHUFRISAT'.
01 DAYS REDEFINES LIT-FIELDS.
05 WEEK-DAY OCCURS 7 PIC X(03).
INCORRECT:-
01 DAYS.
05 WEEK-DAY OCCURS 7 PIC X(03).
05 LIT-FIELDS REDEFINES WEEK-DAY VALUE 'SUNMONTUE.........'

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i want a program using by if, evaluate , string, unstring, perform, occurs?

4722


how to access the file from prodution from changeman tool and to submit a file to production

7549


What is link edit in cobol?

1198


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1243


What are the pertinent COBOL

2570


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1172


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1300


How you can read the file from bottom?

1158


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

2112


Discuss about changing dataset name in proc.

1235


How do you define a variable of comp-1 and comp-2?

1201


how do you reference the rrds file formats from cobol programs

1580


How are the next sentence and continue different from each other?

1299


In which area will you utilize 88 level items in cobol?

1165


example for sub strings ? and refernce modifications whit output pls

2317