0 pts.
 AS/400 – Don’t prompt me for user/pass when starting 5250 emulator
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?

Software/Hardware used:
ASKED: October 17, 2007  10:54 PM
UPDATED: February 17, 2010  8:44 AM

Answer Wiki:
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
Last Wiki Answer Submitted:  February 17, 2010  8:44 am  by  Yorkshireman   5,505 pts.
All Answer Wiki Contributors:  Yorkshireman   5,505 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _