Previous Topic Next topic Print topic


DLG-VREPLACE

Move data from a COBOL program variable to an ISPF function pool variable.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Target:

DLG

Syntax:

DLG-VREPLACE [COBOLlevel] COBOLvariable

... [[INTO] dialogvariable]
... [PIC COBOLpicture]|LEN value
... [GENONLY]

Syntax Rules:

  1. Code INTO dialogvariable on the same line as COBOLvariable.
  2. Coding COBOLlevel generates COBOLvariable in Working-Storage; otherwise, define the COBOL variable in Working-Storage.

Parameters:

COBOLlevel

COBOLvariable level number.

COBOL-variable

COBOL data name the call processes.

GENONLY

Define COBOLvariable data item in Working-Storage only.

INTO dialog variable

ISPF function pool variable data replaces; default is COBOLvariable, truncated to eight characters.

LEN value

COBOLvariable length; can be numeric integer, COBOL variable, or arithmetic expression.

PIC COBOLpicture

COBOLvariable picture; default is alphanumeric.

Example:

Move a new value to the function pool variable ZPF01 and invoke ISPF help services with PF01.
DLG-VREPLACE 01 WS-PF01-HELP PIC X(04) VALUE 'HELP' 
INTO ZPF01
Previous Topic Next topic Print topic