PreviousNext
Help > Programming with LAUNCHER Office > Advanced programming > Programs to connect PC and AS400 > LNCMessage
LNCMessage

 To send a message to the AS/400. Also enables you to warn the AS/400 that the PC application has terminated.

 

Prototype

 

long LNCMessage (long lRetCode, char *szRetString);

 

Parameters

Parameters

 

lRetCode (I)

Return code interpreted by LAUNCHER Office.

 

szRetString (I)

Message to send to AS/400

 

 

Note

 With lRetCode set to 0 or 1, set szRetString to "*END".

 

See also

LNCRcvMessage

LNCSetPostMessage