ISPEXEC VGET XYZ
ISPEXEC VGET &VNAME;
In the first example, XYZ is the name of the dialog variable to be passed. In the second example, variable VNAME contains the name of the dialog variable to be passed.
.-ASIS----. >>-ISPEXEC--VGET--name-list--+-SHARED--+------------------------> +-PROFILE-+ '-SYMDEF--' >--+------------------------+---------------------------------->< '-SYMNAMES(symname-list)-'In this case, "name-list" is a positional parameter. It can consist of a list of up to 254 dialog variable names, each name separated by commas or blanks. If the name-list consists of more than one name, it must be enclosed in parentheses. Parentheses can be omitted if a single name constitutes the list. For example:
ISPEXEC VGET (AAA,BBB,CCC)
ISPEXEC VGET (LNAME FNAME I)
ISPEXEC VGET (XYZ)
ISPEXEC VGET XYZ
The last two lines of the example,
with and without the parentheses, are equivalent.>>-ISPEXEC--TBPUT--table-name--+-----------------+--+-------+-->< '-SAVE(name-list)-' '-ORDER-'where the parentheses are required by the "keyword(value)" syntax. Again, the names can be separated by commas or blanks. Examples:
ISPEXEC TBPUT TBLA SAVE(LNAME FNAME,I)
ISPEXEC TBPUT XTABLE SAVE(XYZ)