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,
             MAKELPARAM(aIBM327032, aSessionN) );
where:
aIBM327032
Identifies the application atom. The string used to create atom aIBM327032 is IBM327032. In the PC400, the application atom is aIBM525032 and the string IBM525032 is used to create it. atom aIBM525032 is IBM525032.
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.