We have an Entire Connection-based application that has been in production for 14 years, migrated from Windows 95 to Windows XP (32-bit)/EC 22.214.171.124, and now to Windows 7 (64-bit)/EC 126.96.36.199.
Users are logged into our z/OS application via Entire Connection (EC), and they progress through several screens, the last of which downloads data to a pre-defined named file on the PC and runs a pre-defined EC Task that starts a VB6 application. The VB6 application processes the downloaded data, allows the user to interact with the data including modifying the data. When finished the user click a button in the VB6 application and a PF key is sent to the z/OS application instructing it to upload the modified data via a pre-defined named file.
I’m having problems connecting to an existing sesion using the PCC API Initialize() method in the VB6 application. First I call the GetRunningTerminalSessions() method, and then I attempt to connect to each named session returned by GetRunningTerminalSessions(). FYI We have a “Automatic logon” procedure that prevents users from starting two sessions with the same name, as that is a problem with the Initialize() method, but our “Automatic logon” procedure insulates us from having to deal with that problem.
The Initialize() method works fine in Windows XP, but not in Windows 7; in Windows 7 it always starts a new session instead of connecting to the named session as I’ve requested. The “CreateSession” parameter is set to false, it’s always been set to false for 14 years.
Just to test the problem in complete isolation of any of my code I ran some tests using a program named “Entire Connection API Test” provided by Software AG. It exhibits the same “create a new session” behavior as my application does in Windows 7, but not in Windows XP.
Any ideas what could be wrong with the Initialize() method? Is this a known bug documented somewhere? Does something need to be configured differently on Windows 7?
Remember I’m using a Software AG API testing program to connect to Software AG’s Entire Connection; at this point in the tests there is no code written by me or my staff.
Thanks in advance for your help!