DLG-VDELETE

Remove the Dialog variables, previously defined by VDEFINE, from the function pool.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Target:

DLG

Syntax:

DLG-VDELETE dialogvariable|*

Syntax Rules:

  1. Coding an asterisk deletes the variables according to the value of the control variable &DLG-AUTO-VARIABLE-VDELETE.
  2. Data field DLG-VDELETE-RC contains the return code after call execution.

Parameters:

dialog-variable

Delete a specific DLG variable.

* (asterisk)

Delete all variables.

Example:

Remove the link between function pool variable COMDATA and COBOL variable WS-COMM-DATA.
DLG-VDEFINE 01 WS-COMM-DATA LEN(150)
... AS COMDATA
DLG-VDELETE COMDATA