X3270URL environment variable

The  environment variable is used to pass a URL to a program run by the Script action. This URL is used to pass actions for the emulator to execute.

Example
Here is a typical value. Note that this is only a partial URL -- additional elements must be added to form a complete URL to send to the emulator. http://127.0.0.1/3270/rest/