Close communication with the PC.
Syntax
DCL |
VAR(&HANDLE) TYPE(*CHAR) LEN(50) |
|
|
CALL |
PGM(LNCCLOSE) PARM(&HANDLE) |
Parameters
Parameters |
|
HANDLE (E) |
Descriptor returned by LNCOPEN function. |
This command closes network communication between AS/400 and PC.
Example
DCL |
VAR(&HANDLE) TYPE(*CHAR) LEN(50) |
|
|
CALL |
PGM(LNCCLOSE) PARM(&HANDLE) |
If several connections are supported their ID will be contained in the &Handle variable. Use *ONLY for a single connection.