Solved

Automating AS400 Session Creation in Client Access

Posted on 2007-03-23
5
641 Views
Last Modified: 2008-02-01
We use an application called IBM Iseries Access, formerly known as Client Access.  We use this to create terminal emulation sessions to connect to the AS400.  The emulator part of this application uses a *.ws file to get it's workstation ID name and server name, along with other settings.  I'd like to be able to create a batch file or a script to automate this for each user that logs onto the PC.  Is this possible or if it is, does anyone know where I can find such a script or the "how to info" on how to accomplish this?

Thanks.

0
Comment
Question by:mtmtech
5 Comments
 
LVL 14

Accepted Solution

by:
daveslater earned 125 total points
ID: 18783696
How automatd.
It would be easy to write a VB program that created the file based on a tamplate.
How would you want to identify the workstation ID or would you allow the iSeries to auto allocate?

Dave
0
 

Author Comment

by:mtmtech
ID: 18790617
I would want LSL, VA, or MN, appended to the front of the name and the last part could be the user name.
0
 
LVL 27

Assisted Solution

by:tliotta
tliotta earned 125 total points
ID: 18803554
mtmtech:

You can certainly edit the .WS files and/or write them yourself. Once the .WS file type is associated with iSeries Access emulation, Windows will handle the rest. You might have a .bat file that contains:

  start  c:\"Documents and Settings"\mtmtech\Desktop\myAS400.ws

Assuming that your AS/400 workstation file is named myAS400.ws and the file is stored on your PC desktop and you're signed on as mtmtech, then that should kick off an emulator session based on whatever you put into myAS400.ws. (Note that "Documents and Settings" has embedded spaces. If you don't use the DOS name in a path, then embedded spaces require quotes.)

You can do basic testing by entering the START command in a Windows command line.

Tom
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Owning a franchise can be the dream of a lifetime. It provides a chance for economic growth. You can be as successful as you want.  To make your franchise successful, you need to market it successfully. Here are six of the best marketing strategies …
Hyena v12.2 is now available for downloading and is available in English, French, German and Spanish versions.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now