Solved

Automating AS400 Session Creation in Client Access

Posted on 2007-03-23
5
651 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 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