Closes the Microsoft EXCEL application.
The standard EXCEL exit messages will be displayed if a user action is required (printing in progress as a background task , modified file not saved, etc).
Syntax
CHGVAR VAR(&CMD)VALUE('EXCELCLOSE')
CHGVAR VAR(&PARM1)VALUE(' ')
CHGVAR VAR(&PARM2)VALUE(' ')
CALL PGM(LNCCMD) PARM(&HANDLE &CMD &OPT +
&PARM1 &PARM2 &RESULT)
Example
LNCCMD CMD(EXCELCLOSE)
See also