Default Connection for CAE Users
August 9, 2002 Timothy Prickett Morgan
I thought you might be interested in a tip for assigning a connection for Operations Navigator (OpsNav) to a default user profile on Windows 2000 PCs.
If you use the CWBCFG.exe command, which comes with Client Access Express, you can accomplish this task easily.
Without CWBCFG, each user would have to use the OpsNav connection wizard to establish a connection to an iSeries host.
Here is the syntax of CWBCFG:
CWBCFG [/host hostname] [/ipaddr address] [/view connect] [/uid userid] [/r] [/s].
- The hostname is the iSeries connection name in Operations Navigator.
- The address is the IP address of the iSeries machine.
- The view parameter is obsolete and will be ignored if coded.
- The user ID may be a specific user profile name, special value *WINLOGON (use the Windows log on ID), or special value *PROMPTALWAYS (user is always prompted for user ID).
- The /r switch indicates that the new configuration should replace an existing configuration.
- The /s switch means that the configuration is for the .default user.
If you had an iSeries host in Kansas City, for example, you might use in a DOS window a command like this to establish a connection for all users:
cwbcfg /host kancity /ipaddr 220.127.116.11 /r /s
For more information, see the Configure a System Data Source using the ODBC administrator Web page at http://www-1.ibm.com/servers/eserver/iseries/access/cwbcfg.htm .
— Anthony G. Schelling
JanoJustice Systems, Inc.
Improve Legacy Programs with Super/Windows
This newly released tool for the iSeries is used to improve user and programmer productivity and efficiency.
Pop-up windows (or selection windows) are what users want to make their jobs easier and more accurate. They have been exposed to “list boxes” when on the Internet or when using a typical windows-based program. This feature makes it so that the user does not need those sticky notes and reference material at their grasp to know what value to key in entry fields.
Programmers have been reluctant to put the selection window feature in entry programs because it takes substantial programming efforts to build the information and display it on the screen. It also requires major additions to the display files.
Super/Windows easily enables pop-up selection windows to your application programs in an affordable manner. Very few changes are required to be made to your existing RPG, COBOL, and CL programs. Changes to your display files are not needed! Your existing code or table files are used to populate the information in the windows from which your users make selection. You can also use the codes file (and maintenance program) that is included with Super/Windows. One of Super/Windows’ functions generates the program source for each file ID using a simple entry program where the file and descriptive information is recorded. The source can be modified to return additional fields.
You do not have to make wholesale changes to your application software, can optimize your staff’s existing skills, and little user training is needed. They will welcome Super/Windows with open arms!
Business Owner Benefits:
Click here to learn more about Super/Windows.