> -----Original Message-----
> From: Lizette Koehler [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 02, 2007 12:41 PM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: Re: COBOL Group moves
> 
> I have one question on the following code snippet.
> 
> If you code a VALUE on an 05 level, do you still have to INITIALIZE the
> group level?
> 
> My cobol is very rusty.

If ALL the 05 levels (or lower levels as needed) have VALUE clauses, then
the answer is no, you do not need to INITIALIZE.

OTOH, if the structure needs to be initialized between records or accounts
or clients, you may well be using INITIALIZE anyway.  Depends on the
application, YMMV.

Tables are another reason to use INITIALIZE, I don't believe VALUE on table
elements works.

HTH

Peter

This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to