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 a REDEFINES clause be used along with an OCCURS clause?
if yes,
01 WS-TABLE.

03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'.

03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you
expect?
if no,why?


Answer Posted / guest

Hi All,

The following combinations are possible with REDEFINES and
OCCURS clause.

1.Variable at level 01 can be redefined.
2.VALUE clause cannot be used along with the REDEFINES
clause.
3.Variable having OCCURS clause cannot be REDEFINED.
4.Variable at level 01 cannot have OCCURS clause.

Please correct if any of the above points are wrong.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1203


State the various causes of s0c1, s0c5 and s0c7.

1088


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5374


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1408


how to refer the data field?

2279


What is the difference between Call and a Link?

1198


Mention the guidelines to write a structured cobol program?

1095


what is the difference between COBOL2 AND COBOL390?

3058


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2587


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1117


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17881


What rules are followed by the search verb.

1119


What guidelines should be followed to write a structured cobol prgm?

1148


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1349


What is the difference between PIC 9.99 and 9v99 in COBOL?

1334