Work fields that were not previously defined in a DEFINE or COMPUTE statement are created when first encountered in a DECODE statement.
The work field is assigned format characteristics based on your explicit specifications or defaults to PACKED format, 4 bytes in LENGTH, and 0 SCALING. The work field retains its format characteristics throughout the run.
The value of the work field is either set to zero or is blank at the beginning of each record processing cycle, and is assigned values by the DECODE statement.
| Copyright © 2012 CA. All rights reserved. |
|