spacesZero
The spacesZero build descriptor option specifies whether the generated program includes extra code to process numeric variables that are filled with spaces.
The specific situation concerns variables that have the following
characteristics:
- They were declared in EGL with primitive type NUM or NUMC
- They might contain spaces, as when the variable is subordinate to a structure item of type CHAR
The spacesZero build descriptor option has no effect on variables that receive a combination of spaces and other characters.
This option can be affected by the value of the v60NumWithCharBehavior build descriptor option, as shown in the following table:
| spacesZero | v60NumWith-CharBehavior | Numeric Source is blanks | Text Target | Results |
|---|---|---|---|---|
| n/a | YES | NUM | CHAR | v60NumWithCharBehavior takes
priority:
|
| n/a | YES | NUM | any text target other than CHAR | v60NumWithCharBehavior does
not apply:
|
| NO | NO | NUM | any text target | v60NumWithCharBehavior does
not apply:
|
| YES | NO | NUM | any text target | v60NumWithCharBehavior does
not apply:
|
| NO | n/a | NUMC | any text target | v60NumWithCharBehavior does
not affect the NUMC type:
|
| YES | n/a | NUMC | any text target | v60NumWithCharBehavior does
not apply:
|
| n/a | n/a | any other combination of numeric source and text targets | v60NumWithCharBehavior does
not affect these types.
spacesZero does not affect these types.
|
|
Values
- NO (the default value)
- Does not include the extra code necessary to interpret the spaces as zeros. NO is appropriate if you are sure that no NUM or NUMC variables in the program will ever contain spaces. NO is the default because the code is more efficient at run time.
- YES
- Include extra code to avoid an abend when a NUM or NUMC variable containing spaces is processed in a program or function script. The variable is treated as if the spaces were zeros.