SET CONNECTOR DOCUMENT

SET CONNECTOR DOCUMENT

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

SET CONNECTOR DOCUMENT

Changes the runtime file name of a connector document

Syntax

SET CONNECTOR DOCUMENT connector document TO filename

Parameters

connector document

The name of the connector document.

filename

The file name to which the connector document will be referencing.

Comments

The SET CONNECTOR DOCUMENT changes the run-time value for the filename field on a connector document.  The new filename is used for all subsequent opens on the document. The filename of a connector document describes the type of the connection and the host and port where the connector resides. There are two connection types ™S™ which is used for connectors that are used for simple command-response operations or are shared single-threaded processes and F™ for connectors that provide a data feed and are either multi-threaded or used exclusively by a single ZIM instance.

A ™S™ type connection is automatically closed after the command completes and the connector issues a PROMPT. The ™F™ type connection never closes.

Example

To set the filename for the connector document SMS_SEND to be a command-response connection where the connector is running on the host ™zimdatabases.com™ at TCP port 9000:

set connector document SMS_SEND to !zimdatabases.com!9000

To set the filename on the connector SMS_RECEIVE to be a data feed where the connector is running on the host ™zimdatabases.com™ at TCP port 9001:

set connector document SMS_RECEIVE to ™F!zimdatabases.com!9001™

Was this article helpful?
5 out of 5 stars

1 rating

5 Stars 100%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish