If two applications need to share a session, each application must release the session when it is not in use. Each application can do the following:
•Connect to the required session.
•Verify that the session is in a good state. This may require logging off and back on to ensure that the session is in the proper login.
•Execute whatever transaction is required.
•Put the session back in a stable state. This may require logging off and back on to ensure that the session is in the proper login.
•Disconnect from the session.
These steps may be impossible to implement if the other application requires significant processing. If this is the case, applications may have to share the emulator or use an additional 3270 server application.