EGL Reference Guide for iSeries
The build descriptor option spacesZero specifies whether a generated
COBOL program includes extra code to process numeric items that are filled
with spaces. The specific situation concerns items that have the
following characteristics:
- Were declared in EGL with primitive type NUM or NUMC
- May receive spaces, as when the item is subordinate to a structure item of
type CHAR
Valid values are as follows:
- NO
- Do not include the extra code necessary to interpret the spaces as
zeros. NO is appropriate if you are sure that no item in the program
will ever receive spaces. NO is the default because the lack of code is
more efficient at run time.
- YES
- Include extra code to avoid an abend when a numeric item that contains
spaces is processed in a program or function script.
The option spacesZero has no effect on items that receive a
combination of spaces and other characters.
Related reference
Build descriptor options
CHAR
NUM
NUMC
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.