Close a FTP session opened by the FTPCONNECT command.
Syntax
CHGVAR |
VAR(&CMD) VALUE('FTPCLOSE') |
CHGVAR |
VAR(&PARM1) VALUE(' ') |
CHGVAR |
VAR(&PARM2) VALUE(' ') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 &PARM2 &RESULT) |
Note
Use this command only to close a FTP session opened previously by the FTPCONNECT command.
Example
LNCCMD CMD(FTPCLOSE)