BizTalk Server - Host Integration Server: The 3270 session is busy.

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > June 2007 > Host Integration Server: The 3270 session is busy.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Host Integration Server: The 3270 session is busy.
Chris

2007-06-09, 1:21 am

We are using Host Integration Server 2006 with our BizTalk Server 2006 to do
some screen scraping of an old mainframe application (I know less than ideal
to say the least). But we are encountering a number of errors that read:
"The 3270 session is busy. The Receive () method should be called to
determine when input is allowed and this method can be retried."

Now we know where the offending code is, we just figure out why we get
errors intermittently at this point. We are using a SessionDisplay object to
SendKey an Enter key stroke to move to the next screen in the mainframe app.
The line immediately prior to the Enter SendKey command is "[SessionDisplay
object].WaitForSession(SessionDisplayWaitType.NotBusy, 60000);". We would
have thought that WaitForSession(SessionDisplayWaitType.NotBusy, x) would
wait for the session to NOT be busy before trying to send another key. Our
time interval is set to 60 seconds but the WaitForSession seems to ignore
this.

Is the WaitForSession method not working properly and waiting as it is
instructed?

Does anyone have any suggestions for a workaround?

Thanks,

Chris


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com