AS/400 – Don’t prompt me for user/pass when starting 5250 emulator

pts.
Tags:
5250 session
AS/400
Emulators
Green Screen
OS/400
windows credential
WS
Hello, I started developing a screen scraper app with the API provided by IBM for the iSeries. It works perfectly except for one thing. Whenever I reboot my PC and run the 5250 emulator, it pops up a form with input for SERVER, USER and PASSWORD. This is prior to logging on to the actual green screen session. The app I have developed is running as an asp.net webpage and I set the IIS app pool identity to match a username/password on the Mapics system. Then in the WS profile I set it up to never prompt me for my ID /Pass and just use Windows credentials which match up to the IIS app pool identity. However, when an IIS worker process spawns the activex PCOMMSession object and opens the IBM 5250 emulator it says that "windows credentials were unavailable". Any ideas on how to go about opening the 5250 emulator without being prompted for USER/PASS/SERVER?

Answer Wiki

Thanks. We'll let you know when a new response is added.

The 5250 SDLC access is for interactive access – so it’s predicated on there being a person in front of the glass.
You don’t want real people getting to your data without authorisation, so it wants a user id and password.

Maybe you need to rethink the data access route and get the data you need over another (secure) access. Whatever is populating the screen you’re scraping could more efficiently populate a file your application could access.

=======================================================

If the “WS” profile means that this is a System i Access workstation session, then use the System i Access CWBLOGON.exe to provide userid and password before connecting the emulator session. Set the connection to “bypass signon” and skip both the pop-up and the signon display panel.

But seriously, Yorkshireman’s comment is right on. Don’t use the emulator at all. There are far better access methods for automation.

Tom

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following