Previous Topic: &$VMEXFUNC=DELETE Statement

Next Topic: Report Writer

&$VMEXFUNC=UPDATE Statement

This statement indicates that a table entry is being updated. When the value of &$VMEXFUNC is UPDATE, you can use the table entry validation exit procedure to perform any special processing that is required when updating a table entry.

Read-Only Variables

This statement contains the following read-only variables:

&$VMEXFUNC

This variable is set to UPDATE.

&$VMEXAPPL

This variable is set to the application ID of the table definition.

&$VMEXFIELD

This variable is set to the field name of the table definition.

&$VMEXFULL

This variable is set to the full value of the table entry.

Modifiable Variables

This statement contains the following modifiable variables:

&$VMEXABBR

This variable is set to the abbreviated value of the table entry.

&$VMEXDESC

This variable is set to the description of the table entry.

&$VMEXSEQ

This variable is set to the table entry sequence number.

&$VMEXACTIVE

This variable is set to indicate whether the table entry is active (YES or NO).

&$VMEXTXT1…10

These variables are set to additional information about the table entry.

&$VMEXERRFLD

Use this variable to identify the name of the variable in the table entry definition that is in error.

&SYSMSG

Use this variable to return a message. If an error occurs during special processing, this variable must be set to an error message.

Return Codes

The variable &RETCODE must be set by the table entry validation exit procedure to one of the following return codes:

0

Continue processing

8

Do not complete the operation; redisplay the panel