| Products | Purchase | Support | Download | News | About |
|
|
Support - Script Examples |
|||
|
Automated Login Project: Write a script to connect to a predetermined host system, use a known userid and password to login and launch a host application. Algorithm: The host address and other configuration items can be stored in a session file or a new session can be created and these values set with script commands. A command may be issued to initiate the connection to the host computer, or verify that a live connection exists. Once a connection has been made, the process is to wait for the expected prompts from the host, and respond by sending the appropriate characters. Product used in this example: DynaComm Connectivity Series® 9. (release 9.0.0.0) Relevant Commands and Functions:
CONNECT — establish the connection and optionally open a specified SES file See Also:
CONNCONFIG — configure connection parameters A Brief Example: SHOW
In this example, the necessary connection information is already stored in the session file named “Vax.Ses”, the username is “testuser” and the password is “password”. Once successfully logged in, a command is sent to enter the host application, All-In-One in this case. In some cases, the login prompt is sent at the same time the connection is established so when the WAIT STRING command is executed in the script, the Username prompt has already been received. To account for this, we use the optional QUIET parameter of the WAIT STRING command to continue the script after waiting three seconds. Then, the SEARCH( ) function is used to verify the prompt is displayed in the session before proceeding. An example of a login to an IBM Mainframe that has a logon banner with both prompts would look something like:
CONNECT "IBM3270" The {NEWLN} and {ENTER} are symbolic keystrokes applicable to the 3270 emulation. For more information on sending these type of characters, or ASCII control characters, see the online help of the SEND script command. Further development:
|
|||
![]() |
Purchase | Contact | Privacy Policy | Terms of Use | Sitemap | Blog |
© 2010 FutureSoft, Inc. All Rights Reserved
|
||||||
|
DynaComm i:filter |
Internet Filtering |
Employee Internet Monitoring |
Managing Internet Access |
Web Filtering |
Internet Monitoring |
DCS Terminal Emulation | TN 3270 | ProComm Plus Replacement | Windows Terminal Emulation | TN 5250 | DynaComm Connectivity Series | MultiView |
||||||