DLG
DLG-VCOPY [COBOLlevel] COBOLvariable ... [[FROM] dialogvariable] ... [PIC COBOLpicture]|LEN value ... [GENONLY]
COBOLlevel |
COBOLvariable level number. |
COBOLvariable |
COBOL data name the call processes. |
FROM dialog variable |
DLG variable where data comes from; default is COBOLvariable, truncated to eight characters. |
GENONLY |
Define COBOLvariable data item in Working-Storage only. |
LEN value |
COBOLvariable length; can be numeric integer, COBOL variable, or arithmetic expression. |
PIC COBOLpicture |
COBOLvariable picture; default is alphanumeric. |
DLG-VCOPY SCRA-ZUSER FROM ZUSER LEN 8
DLG-VCOPY 01 WS-LONG-ERROR-MESSAGE PIC X(78) FROM ZERRLM