3.3

Table Of Contents
2 Connect Services
28
This process includes the most commonly used dialog commands.
To build a dialog:
1. Create a dialog queue.
Each dialog must be in a separate queue in the SYSTEM.DIALOGS directory. The first
step in creating a new dialog is to go to SYSTEM.DIALOGS and create a queue to hold
it. The name you give this queue is also the name of the dialog, so choose a queue name
that describes what the dialog does, such as Console, for a dialog used during connect
sessions to the console. See the iNEWS Setup and Configuration Guide for more
information about adding new directories, queues or stories.
2. Open a new story in the queue and build the dialog.
3. Type a message that will be displayed on the user’s workstation, indicating the
connection is being established, using the following format:
message text
The message dialog command displays on the user’s screen whatever text you enter in
place of the text parameter.
4. Type:
wait CONNECT
When you use a modem to make the connection, you want the dialog to wait until the
modem sends the word CONNECT to the workstation, signaling it has made the
connection.
If necessary, use these additional commands to accommodate the login procedure:
5. To send your login data, such as an account number, type
type text
with text being the
account number.
6. Type
pass
to yield control to the user after login is complete.
This command instructs the dialog to pass whatever the user enters to the device to
which the service has connected.
Command Description
delay
nn
Use this command to pause the dialog while the service continues connect
and login processes.
(nn is the number of seconds you want the dialog to pause before continuing
to the next command)
type
text
Use the type command to send a text message to the device to which the
workstation is being connected.