Predefined Logon Setup Variables

If you intend to write your own scripts that connect through a network or log on to an online host, be sure you understand the details of a logon setup. Many of the values defined in a logon setup are available to STN Express scripts as variables. Below is a list of these variables and the fields in the setup dialogs to which they correspond.

Setup Definition Dialog

Host Information

_$LOGID

Login ID

_$PASSWORD

Password

_$SERVICE

Host Name; set to "STN" for all STN hosts

_$STNCENTER

name of STN Node (Columbus, Karlsruhe, or Tokyo)

 

Path

_$CONNVIA

Connect via

_$NETWORK

Value selected from network list when the Logon Method is Standard

_$NUA

NUA (Network User Address)

_$NUI

NUA (Network User Address)

_$NUP

NUP (Network User Password)

 

Communication Settings

_$BAUD

Speed

_$DIALTYPE

Dial

_$PHONENO

Primary Phone #

_$PHONENO2

Secondary Phone #

 

Host Settings

_$QSERVNAME

Choice of Service (Questel only )

_$GRAPHICS

Graphics (STN only)

_$STNPORT

STN Port (STN only)

Advanced Dialog

Prompt Character strings

 

Optional

_$GWID

Gateway Login ID

_$GWPW

Gateway Password

 

Execute at command prompt

_$GWCOMM1

Value of first (top) "Execute" box

...

 

_$GWCOMM5

Value of fifth (bottom) "Execute" box

 

Modem Configuration

_$MODINIT

Initialization String

Copyright © 2017 American Chemical Society. All Rights Reserved.