/
Supported DDE transactions

Supported DDE transactions

 



The application includes support for some simple Dynamic Data Exchange (DDE ) transactions to allow other Windows applications to send data to the 3270 session and receive data from the 3270 session. Only the following DDE support is included.

Application: QWS3270X

Topic: A DDE topic can be entered on the Miscellaneous dialog on the Options/Sessions menu to allow DDE access to TN3270 sessions. The default is SESSIONA.

To inquire about the connection status: Use a WM_DDE_REQUEST message with a data item of "connected". This will return a field containing "connected=yes" if currently connected to a 3270 host or "connected=no" if not.

To inquire about the keyboard locked status: Use a WM_DDE_REQUEST message with a data item of "locked". This will return a field containing "locked=yes" if the keyboard is currently locked (input is inhibited and xSYS is displayed on the status line) or "locked=no" if not.

To send data to the 3270 session: Use a WM_DDE_POKE message with a data item of "3270_data" and data that is in the same syntax as the scripting language.

To request the current screen contents: Use a WM_DDE_REQUEST message with a data item of "3270_data". This will return an array containing the screen data. Please note that all nulls in the screen data will be replaced with blanks.

To execute menu commands: Use a WM_DDE_EXECUTE for the following menu items:

[host(close)]

[host(print_screen)]

[edit(copy_all)]

[edit(paste)]

These commands are not case sensitive "HOST(CLOSE)" is the same as "host(close)". These commands work just as if you entered them from the application window.


 

Related content

When to Use it
When to Use it
More like this
Host Settings
More like this
Introduction to QWS3270 Secure
Introduction to QWS3270 Secure
More like this
.NET Automation
.NET Automation
More like this
Starting QWS3270 Secure
Starting QWS3270 Secure
More like this
Automation Programming Overview
Automation Programming Overview
More like this