Like Macro buttons, Script buttons perform 'hidden' processing. However, a Script button actually processes a Web Option script, which is running on the IBM i. A script consists of a number of commands, which are held in the YSCRIPT source file in Y2WEB. Scripts can be written to do the following:
A Script button is coded as follows:
<INPUT TYPE=”SUBMIT” VALUE=”button-text” NAME=”_Sscript-name” >
where button-text is the text that displays on the button itself and script-name is the name of the script member in Y2WEB/YSCRIPT.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |