Connect

<< Click to Display Table of Contents >>

Navigation:  User Interface > Ribbon Bar > Home >

Connect

Previous pageReturn to chapter overviewNext page

In the Connect section you can see these buttons:

 

Logon

Opens a window that allows you to select a TCP configuration file that specifies the logon parameters and it optionally asks for your user name and a password.
The program searches for all files with .tcp extension in the directory where it is installed or in the location specified by CONFIG_DIRECTORY option in the INI file and checks whether these files contain a valid logon information. Files with valid logon information are provided in the logon window.

 

clip0071     clip0005   clip0098

 

Sample TCP configuration XX35D#14.tcp:

 

//---------------------------------------

// TCP-IP Configuration file

//---------------------------------------

TCPCOMMONNAME=

TCPCRYPT=

TCPPEMCA=

TIMEOUT=

PORT=XXXXX              // Port Number

IP_ADR=XXX.XXX.XXX.XXX  // IP-Addres or Host-Name

MEMBER=XXXXXXX          // TP-Procedure

 

 

You can use a sample file sample.tcp.templ, which is located in the program directory. Create a copy and modify it that it fits your needs.

 

There are two ways how to specify your user name and password:

a.Enter them manually
 

b.Use the security interface:
This method is available only if it is enabled in the INI file and it allows you to log on automatically.
There are two ways how to log on using the security interface:
 

i.The first one is handy when you have utilities that provide you your user name and a password. If these utilities return you the needed information, you can call them from a script called by the SmartIS PC Client.
A trivial sample of such a script is :
 
@echo P391D
@echo ERF25JIT
 
If you enter these lines to logon_XXR35D#14.cmd file then this script will be called whenever you connect using XXR35D#14.tcp configuration file. The script name must be logon_<name of the TCP configuraiton file>.cmd.
The sample code above is a trivial case that simply prints your name (P391D in this case) and a password (ERF25JIT), each one on a single line. Of course, this is not so useful (even when it saves you time). The main advantage of the security interface is to get the logon information by your system utilities.

 

ii.The second one logs on using the user name and password from logon_<name of the TCP configuration file>.lgn file. For example, if the TCP file name is XXR35D#14.tcp then the logon information is read from logon_XXR35D#14.lgn file. This logon file can be created by entering the user name and password in the Logon window and pressing Create LGN button. The file has the same format as logon files used in scripts, which means that the password is encrypted.

 

 

Create LGN button allows you to create a file with your user name and encrypted password. The created file can be used in scripts or by the security interface.

You can also use LGN file as the command line parameter of the program. Then the program logs on automatically when it starts.

 

If you want to change your password then enter the valid password and click Change password option. After pressing OK button you will be prompted to enter the new password.

This option is available only when it is enabled in the INI file.

 

The program allows you to connect using smart cards (PKI interface). This feature must be configured in the INI file.

When PKI interface is enabled and the smart card is connected then only a prompt with TCP file name is displayed.

When there is more than one key on the card then the program also asks what key to use, unless the default key is set in the INI file:

 

clip0165

 

 

Logoff

Disconnects from the server

 

SQL

Shows SQL console that allows you to specify your own SQL queries (if you are using DB2 at z/OS), which are sent to the server. If you are using some queries often, you can save them and load them in your profile or a file by pressing Save As... and Load...buttons.

 

clip0011