Solved

Automating AS400 Session Creation in Client Access

Posted on 2007-03-23
5
646 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

832 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