Kernel Toolkit 7.3 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

SEND^XTKERMIT: Send Data from Host

Reference Type: Supported, Category: Toolkit—Kermit, ICR#: 10095

Description

The SEND^XTKERMIT API sends data from the host.

Format

  SEND^XTKERMIT

Make sure to perform the following steps before calling this API:

  1. NEW all non-namespaced variables.

  2. Set all input variables.

  3. Call the API.

Variables to call from outside of KERMIT

XTKDIC:

(required) Set XTKDIC to VA FileMan type global root.

DWLC:

(required) Set DWLC to last current data node.

Return DWLC to last data node; XTKDIC is KILLed.

TIREF:

(optional) Set XTKMODE as follows to send/receive:

  • 0—Send/Receive in IMAGE mode (no conversion).

  • 1—Send/Receive in DATA mode (just convert control character).

  • 2—Send/Receive as TEXT (VA FileMan word-processing). Text mode sends a carriage return (CR) after each global node; makes a new global node for each CR received. XTKMODE set to 2 would be normal for most VistA applications.