Listen (-LSN) command

The -LSN command specifies the amount of time, in seconds, that the adapter waits for a message to arrive. This command is optional. If you omit it, the adapter waits for an infinite amount of time.

Read syntax diagramSkip visual syntax diagram
-LSN command syntax

>>-+-------+--+-0-------+--------------------------------------><
   '- -LSN-'  '-seconds-'   

0
The adapter does not wait. If no message is available, the adapter returns a warning that no messages were found.
seconds
Specifies the amount of time, in seconds, that the adapter is to wait for a message to arrive. If a message does not arrive within the specified timeframe:
  • In Command Server mode, the adapter returns a warning.
  • In Launcher mode, the Launcher continues to retry.