Initiate Session Conversation

3270 5250 VT
Yes Yes Yes

The Initiate Session Conversation function connects a client application to an available session of Personal Communications. Once a session conversation has been established, the session is reserved for exclusive use by the client until the conversation is terminated.

The client application sends the following message to initiate a DDE conversation with a session:
SendMessage( -1,
             WM_DDE_INITIATE,
             hClientWnd,
             MAKELONG(aIBM327032, aSessionN) );
where:
aIBM327032 Identifies the application atom. The string used to create atom aIBM3270 is IBM3270. In the PC400, the application atom is aIBM5250 and the string IBM5250 is used to create it. atom aIBM5250 is IBM5250.
aSessionN Identifies the topic atom. The string used to create atom aSessionN is either NULL or Session appended with the session ID A, B, …, Z.