?
Solved

Automating AS400 Session Creation in Client Access

Posted on 2007-03-23
5
Medium Priority
?
666 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 500 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 500 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

In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
If you're a modern-day technology professional, you may be wondering if certifications are really necessary. They are. Here's why.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

777 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