Scripting |
Top Previous Next |
Development Lab's main use is understanding the event flow and mainframe application's logic. Scripting inside Development Lab allows you to write code to test the mainframe logic and event flow from TN BRIDGE programming point of view. Also it can help you create code snippets to be included in your application.
Code can be written in Microsoft VB Script language, accessing methods and properties of Tn3270/Tn5250 components. A global object "Telnet" is available, associated to the Tn3270 or Tn5250 currently in use in the interactive emulation.
As an example, you can write the following code access a mainframe application:
To run the script click on Play button on the common toolbar.
To load a saved click on Open button of the common toolbar.
|