Modifying Function Options › Identifying Standard Function Options › Null Update Suppression
Null Update Suppression
This option specifies whether the CHGOBJ function type suppresses the record update when the before and after images of the record are the same. Use this function option to override the YNLLUPD model value.
- If N is specified, CHGOBJ always updates the record.
- If Y is specified, CHGOBJ checks whether to suppress database update both after the After Data Read and after the Before Data Update user points. The record is updated if the before and after images of the record differ.
- If A is specified, CHGOBJ checks whether to suppress database update after the After Data Read user point. The record is updated if the before and after images of the record differ.
- If M is specified, use the YNLLUPD model value to determine whether CHGOBJ is to update the record if the before and after images are the same. The valid model values for YNLLUPD are *NO, *AFTREAD, and *YES.
For more information about:
- Null update suppression see *Record Data Changed PGM Context, in the chapter "Modifying Action Diagrams"
- The CHGOBJ function, see CHGOBJ Database Function in the chapter, "Defining Functions"