For Programmers: Free Programming Magazines  


Home > Archive > Cobol > January 2007 > Powercobol to initialize the fields at run-time at zero binary









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Powercobol to initialize the fields at run-time at zero binary
Massimo

2007-01-08, 7:55 am

Hi, a suggestion serves me:
in the programs microfocus the fields defined in the working-storage are
initialized at run-time (zero, spaces, ecc).
In the fujitsu powercobol the fields defined in the working-storage remain
to binary zero to run-time.(As standard Cobol language),
Does exist an option for set the powercobol to initialize the fields at
run-time (zero, spaces, ecc) ?
Thanks for the help.
Massimo From Rome.


Michael Mattias

2007-01-08, 6:55 pm

"Massimo" <blue_max_53@hotmail.com> wrote in message
news:Hzooh.102381$uv5.1366775@twister1.libero.it...
> Hi, a suggestion serves me:
> in the programs microfocus the fields defined in the working-storage are
> initialized at run-time (zero, spaces, ecc).
> In the fujitsu powercobol the fields defined in the working-storage remain
> to binary zero to run-time.(As standard Cobol language),
> Does exist an option for set the powercobol to initialize the fields at
> run-time (zero, spaces, ecc) ?


Yes. See the VALUE [IS] clause for elementary items in working-storage.
That will work with ANY COBOL.


MCM





Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com