Session Execute Macro

3270 5250 VT
Yes Yes Yes

You can issue commands and macros with the DDE_EXECUTE function. The DDE_EXECUTE function passes command strings to Personal Communications. The command strings must conform to DDE specifications. Refer to Microsoft Windows Software Development Kit Guide to Programming for more information about the DDE command syntax.

The client sends the following command to issue a DDE_EXECUTE function.
PostMessage ( hServerWnd,
              WM_DDE_EXECUTE,
              hClientWnd,
              MAKELONG(NULL, hCommands) );
where:
 
 
hCommands
Identifies a handle to a Windows global memory object containing Personal Communications commands. For a list of commands you can issue, see Issuing Commands with the Session Execute Macro Function.