Previous Topic: System Request Functionality

Next Topic: Web Option Script-Execution Button Format

Scripting

This chapter describes the scripting processing that has been developed for Web Option.

The purpose of scripting support is:

Scripting support for Web Option allows the same level of functionality as provided by these macro languages. A Web Option script can:

A benefit of Web Option scripting is that it is invisible to the user; script processing is handled within the Web Option server itself, without the screen processing functionality being involved. For example, a script that provides a 'fast path' to back out through several levels of a menu does not display the intervening menu screens in the browser window.

Scripts are held as database source file members in file YSCRIPT in the Web Option product library and can be edited using the IBM Source Entry Utility (“SEU”) or any equivalent source editor.

A Web Option scripting language has been developed, which consists of a number of commands, each of which performs specific processing. An individual script can contain one or more commands. A Web Option script is executed when a script-execution button on a generated skeleton is pressed.

This section contains the following topics:

Web Option Script-Execution Button Format

Web Option Scripting Control Values

Support for User Defined Macros (UDM)