|
Custom Script: C1038
Overview:
This custom script is used
for IBM Client Access program with 5250 emulation (AS/400). After Client Access
is installed, this custom script will dynamically update settings stored in the
".ws" file on the client. This script includes the following settings:
WorkStationID, HostName, UserTitle and Printer, but can be easily edited to
include others.
Download Custom Script: IbmWsEd.kix
(Instructions on how to install a
custom script)
When you combine this script with
the functionality of the Shortcuts Tab (to create desktop or quick launch bar
shortcut to the program) and the Registry Tab (to setup the environment for
Client Access), any user logging into any workstation (where Client Access is
installed) will be instantly and correctly configured to start using Client Access.
The following registry
entries need to be customized for your environment, so you should examine the
registry settings of a computer that has been manually configured. Then plug the
appropriate data into the corresponding values and you are ready to go.
Remember that a new
installation of Client Access creates a default environment called "Primary Environment".
You can use the following registry entries to customize this default or create a
completely new environment name.
| Action: |
WriteValue |
| Hive: |
HKEY_CURRENT_USER |
| Key: |
Software\IBM\Client Access\CurrentVersion\Internal_Components\Communication\Environments
|
| Type: |
REG_SZ |
| Value: |
Current
Environment |
| Data: |
Your
Environment Name |
|
|
| Action: |
WriteValue |
| Hive: |
HKEY_CURRENT_USER |
| Key: |
Software\IBM\Client Access\CurrentVersion\Internal_Components\Communication\Environments\Your Environment Name\Your AS400 Connection Name
|
| Type: |
REG_DWORD |
| Value: |
VRM |
| Data: |
Your
VRM |
|
|
| Action: |
WriteValue |
| Hive: |
HKEY_CURRENT_USER |
| Key: |
Software\IBM\Client Access\CurrentVersion\Internal_Components\Communication\Environments\Your Environment Name\Your AS400 Connection Name
|
| Type: |
REG_SZ |
| Value: |
USER
ID |
| Data: |
$UserID |
|
|
| Action: |
WriteValue |
| Hive: |
HKEY_CURRENT_USER |
| Key: |
Software\IBM\Client Access\CurrentVersion\Internal_Components\Communication\Environments\Your Environment Name\Your AS400 Connection Name
|
| Type: |
REG_DWORD |
| Value: |
Stack
ID |
| Data: |
Your
Stack ID |
|
|
| Action: |
WriteValue |
| Hive: |
HKEY_CURRENT_USER |
| Key: |
Software\IBM\Client Access\CurrentVersion\Internal_Components\Communication\Environments\Your Environment Name\Your AS400 Connection Name
|
| Type: |
REG_SZ |
| Value: |
Provider |
| Data: |
TCP/IP
(WinSock) |
|
|
| Action: |
WriteValue |
| Hive: |
HKEY_CURRENT_USER |
| Key: |
Software\IBM\Client Access\CurrentVersion\Internal_Components\Communication\Environments\Your Environment Name\Your AS400 Connection Name
|
| Type: |
REG_BINARY |
| Value: |
Password Provider ID |
| Data: |
Your
Password Provider ID |
|
|
| Action: |
WriteValue |
| Hive: |
HKEY_CURRENT_USER |
| Key: |
Software\IBM\Client Access\CurrentVersion\Internal_Components\Communication\Environments\Your Environment Name\Your AS400 Connection Name
|
| Type: |
REG_SZ |
| Value: |
IP
Address |
| Data: |
Your
AS/400's IP Address |
|
|
| Action: |
WriteValue |
| Hive: |
HKEY_CURRENT_USER |
| Key: |
Software\IBM\Client Access\CurrentVersion\Internal_Components\Communication\Environments\Your Environment Name\Your AS400 Connection Name
|
| Type: |
REG_SZ |
| Value: |
Default
View |
| Data: |
Your
Default View |
|
|
| Action: |
WriteValue |
| Hive: |
HKEY_CURRENT_USER |
| Key: |
Software\IBM\Client Access\CurrentVersion\Internal_Components\Communication\Environments\Your Environment Name\Your AS400 Connection Name
|
| Type: |
REG_SZ |
| Value: |
Communication Stack |
| Data: |
winsock |
|
|
| Action: |
WriteValue |
| Hive: |
HKEY_CURRENT_USER |
| Key: |
Software\IBM\Client Access\CurrentVersion\Internal_Components\Communication\Environments\Your Environment Name\Your AS400 Connection Name
|
| Type: |
REG_DWORD |
| Value: |
CCSID |
| Data: |
Your
CCSID |
|
|
| Action: |
WriteValue |
| Hive: |
HKEY_CURRENT_USER |
| Key: |
Software\IBM\Client Access\CurrentVersion\Internal_Components\Communication\Environments\Your Environment Name\Your AS400 Connection Name
|
| Type: |
REG_SZ |
| Value: |
5250
Profile |
| Data: |
C:\Program
Files\IBM\Client Access\Emulator\Private\Your .ws Filename |
| |
|
| Action: |
WriteValue |
| Hive: |
HKEY_CURRENT_USER |
| Key: |
Software\IBM\Client Access\CurrentVersion\Internal_Components\User Interface\Connections
|
| Type: |
REG_SZ |
| Value: |
Import
Path |
| Data: |
C:\Program Files\IBM\Client Access\Emulator\Private |
| |
|
And, if you chose to create
your own environment (and not modify the default Primary Environment), you can
this entry to delete the Primary Environment key:
| Action: |
DelKey |
| Hive: |
HKEY_CURRENT_USER |
| Key: |
Software\IBM\Client
Access\CurrentVersion\Internal_Components\Communication\Environments\Primary
Environment
|
| |
|
Related articles: C1037
Created: 09 November, 2000
Last Revised: 22 July, 2004
|