|
Ash,.ws
Insert this into your .bat file. The
C:\Program Files\IBM\Client Access\Emulator\pcsws.exe <path to your
file> /QSchools.
The path to your file must be in double quotes.
Example:
"C:\Program Files\IBM\Client Access\Emulator\private\Session1.ws"
The whole thing might look like this:
C:\Program Files\IBM\Client Access\Emulator\pcsws.exe "C:\Program
Files\IBM\Client Access\Emulator\private\Session1.ws" /Q.
The /Q keeps the IBM logo splash screen from showing.
Regards,
Pat Landrum
Senior Programmer/Analyst
Hanover County School Board
200 Berkley Street - Ashland, VA. 23005
Phone: 804-365-4658 Email: plandrum@xxxxxxx
Notice: This message or any accompanying documents may contain
confidential or privileged information of Hanover County Public
If you are not the intended recipient, disclosure, copying orfrom
distribution is strictly prohibited by state and federal law. If you
received this message in error, please notify the sender as soon as
possible.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Ashish Kulkarni
Sent: Wednesday, August 12, 2009 12:05 PM
To: Midrange Systems Technical Discussion
Subject: Re: How to auto login from client access
Hi I was able to setup client access to do auto login, i would like to
know
how to open .ws profile created on PC for example
i have saved emulator session called myas400.ws, how can i open it
command prompt, i can open it double clicking on it, but i would liketo
open from a .bat file,access.
Ash
On Wed, Aug 12, 2009 at 10:38 AM, Jernigan, John (Jay)
<jernjohn@xxxxxxxx>wrote:
This is from the user guide installed when you install client
providewith
Use this command from a command prompt to cache user ID password
information on the PC for the specified server. This, in conjunction
configuring a default user ID for a connection, can be used to
andautomatic logon to a server without the need for iSeries Access forWindows
to display a signon dialog prompt.
Syntax
To signon to a server:
CWBLOGON system /u userid /p password
To clear a specific userid:
CWBLOGON system /u userid /c
To clear all userids from a server:
CWBLOGON system /c
To clear all userids from the cache:
CWBLOGON /c
Parameters
system designates the server name for which to store the user ID
iSeriespassword information
/u userid designates the server user ID to store in the
IDAccess for Windows cache
/p password designates the server password associated with user
/pprovidedAccess for
/c clears user ID and password information from the iSeries
Windows cache
Notes
To cache the user ID and password for a system, the system, /u and
firstparameters must be specified. The system name must always be the
doubleparameter. When using the /c parameter, you can clear a specificuserid for
a system, all userids for a system, or all entries in the cache.
If the password value contains embedded blanks, enclose it with
itquotation marks. If the server is configured to support longer mixedcase
password values, ensure you specify the password in the exact case
isa
defined. If the password value contains double quotes and embeddedblanks,
you need to prefix each embedded double quote with the backslashcharacter.
Running
This command can be used to simulate persistent password caching.
a batch file when starting your Windows operating system (containingWindows
CWBLOGON invocations) could be used to prime the iSeries Access for
password cache allowing automatic connections to be made.duration of
Passwords cached with this command are only remembered for the
the Windows session, and are deleted when you log off Windows.
Warnings
Because the intent of this command is to provide automatic access to
orsever (i.e. no iSeries signon dialog), be sure to use appropriatesecurity
measures on the PC.files.
Use appropriate security measures in using this command from batch
Invocations provide a server password in clear text format. Thesepasswords
would remain only as secure as access to the batch files themselves.
Recovery
The ERRORLEVEL value indicates whether this command was successful
not.mailing
Blanks"
Examples
CWBLOGON system1 /u myuserid /p mypwd
CWBLOGON system2 /u myuserid /p "Case Sensitive Pwd With Embedded
CWBLOGON system3 /u myuserid /p "pwd with one \" embedded quote"store
CWBLOGON system1 /u myuserid /c
CWBLOGON system2 /c
CWBLOGON /c
Thanks,
Jay Jernigan
Alamance Regional Medical Center
Financial Analyst
jjernigan@xxxxxxxx
336-538-8299
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:
midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Ashish Kulkarni
Sent: Wednesday, August 12, 2009 10:13 AM
To: midrange-l@xxxxxxxxxxxx
Subject: How to auto login from client access
Hi
Does anyone know how to setup client access for auto login, can i
as400 name, user id, password some where and read it when startingclient
access?password
I dont want to make AS400 user is password and windows user id
same, i already have EIM working for some users, but not possible toextend
to all the end users.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.