cu (character update)

cu (character update)


c (controlling) Index Level d (date)
Syntax
Category Processing Codes
Type Processing Code
Description allows data in a defined attribute with an output-conversion or correlative to be changed character by character. The "cu" processing code is placed in the "input-conversion".

If "cu" is not specified, existing data is erased and nulled when editing is started.

The "cu" processing code is required ONLY when there is another conversion present in the attribute-defining item. For example, having a "cu" processing code within an attribute which contains a date and a corresponding "d" output conversion code in its attribute-defining item allows changing PART of the date field, rather than having to re-enter the entire date.
Options
See Also output-conversion input-conversion character update processing codes Processing Codes
Example
Warnings If a CU is included in the input-conversion without any additional input-conversions, the string will be written to the file as it is displayed on the screen.  If this is not desired, an input-conversion must be added to reverse the effect of the output-conversion/correlative.
Compatibility D3 7.0 AP
c (controlling) Index Level d (date)