gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] Re: Initialize


From: Roger While
Subject: [open-cobol-list] Re: Initialize
Date: Sat Jun 4 23:50:04 2005

The code is valid Cobol syntax and should do what
one expects.
I will have a look at this.
Note that the only time when a "redefines" should be initialized
is when it is the direct object of an INITIALIZE verb.
So eg.
01   XYZ PIC X(8).
01   XYZ-RED REDEFINES XYZ.
         03  AB1   PIC X(4).
         03  AB1-RED REDEFINES AB1  PIC 9(8) COMP.
         03  FILLER  PIC X(4).

INITIALIZE XYZ-RED.
This will/should put spaces into the area.

Roger





reply via email to

[Prev in Thread] Current Thread [Next in Thread]