Syntax: REWRITE <table-name> <descriptor1> <descriptor2> ... <descriptorN> is: 1) <field-name1>[<modifier>] 2) <field-name1> <op> <field-name2>[<modifier>] 3) <field-name1> <op> <local-var-name>[<modifier>] 4) <field-name1> <op> <global-var-name> 5) <field-name1> <op> <literal> 6) <field-name1> = null <op> is: = - Absolute reassignment; or BY - Incremental update Placement: RETURN section, EVERY section, ATEND section or R_INITIAL section Description: Modifies an existing record in <table-name> with the specified contents; <table-name> must be either a part of the hierarchy that is being processed; or it must have been created with a previous WRITE statement. Form 1) <field-name1>[<modifier>] is equivalent to <field-name1> = <field-name1>[<modifier>] For forms 4) and 5), if <field-name1> is data type DATE, DATETIME, DATETIMEEX or TIME, the target value is assumed to be in the default format for its data type. However, the default format can be overridden by an explicit format override following the target value.
Copyright © 2019 , WhamTech, Inc. All rights reserved. This
document is provided for information purposes only and the contents hereof are
subject to change without notice. Names may be
trademarks of their respective owners.