Database functions in Display Emulation clients and in macros
- 3270 Display session
- 5250 Display session
- VT Display session
You can also use SQL statements and File Upload statements in macros in display emulation client sessions (see the https://www.ibm.com/docs/en/host-on-demand/16.0?topic=actions-sqlquery-action-sqlquery-element and the in the Macro Programming Guide).
For example, while you are connected to a remote host in a 3270 Display session, you can launch a macro that automatically reads data from the 3270 Display session window and writes the data into a table in a database that is located on another remote host. Similarly, you can launch a macro that automatically reads data from a table in a remote database and writes the data into the 3270 Display session window.
For more information, see Overview of database access .