faqts : Computers : Programming : Languages : Cobol

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 6 people (83%) answered Yes
Recently 5 of 6 people (83%) answered Yes

Entry

If I redefine a variable to larger size it does not give error when declared in 01 level.why?

Nov 20th, 2008 04:05
shivananda mishra, ashraf rasheed,


Hi,
The redefine clause is used to use the same working storage as different
name. when the redefined clause is used in hight level *(i.e 01 ) and
has a larger value than the other then it takes the next space to store.
where as if its used in some lower level then it is bounded by the
earlier value.