|
Ash,
Insert this into your .bat file. The
C:\Program Files\IBM\Client Access\Emulator\pcsws.exe <path to your .ws
file> /Q
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 Schools.
If you are not the intended recipient, disclosure, copying or
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 from
command prompt, i can open it double clicking on it, but i would like to
open from a .bat file,
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 access.with
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 provideWindows
automatic logon to a server without the need for iSeries Access for
to display a signon dialog prompt.Access for
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 and
password information
/u userid designates the server user ID to store in the iSeries
Access for Windows cache
/p password designates the server password associated with user ID
provided
/c clears user ID and password information from the iSeries
Windows cacheuserid for
Notes
To cache the user ID and password for a system, the system, /u and /p
parameters must be specified. The system name must always be the first
parameter. When using the /c parameter, you can clear a specific
a system, all userids for a system, or all entries in the cache.case
If the password value contains embedded blanks, enclose it with double
quotation marks. If the server is configured to support longer mixed
password values, ensure you specify the password in the exact case itis
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.security
Warnings
Because the intent of this command is to provide automatic access to a
sever (i.e. no iSeries signon dialog), be sure to use appropriate
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.not.
Recovery
The ERRORLEVEL value indicates whether this command was successful or
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.list
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxattachments)
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.
______________________________________________________________________
Notice: The information contained in this message (Including
is covered by the Electronic Communications Privacy Act, 18 U.S.C.disclosure. If
2510-2521, is confidential and may be legally protected from
you are not the intended recipient, or an employee or agentresponsible for
delivering this message to the intended recipient, you are herebynotified
that any retention, dissemination, distribution or copying of thisreplying to
communication is strictly prohibited. If you have received this
communication in error, please notify the Sender immediately by
the message and deleting it from your computer.list
______________________________________________________________________
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
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.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
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.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing 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.