Every HTML skeleton generated by CA 2E contains the following lines:
<SCRIPT LANGUAGE="JAVASCRIPT" SRC="HTTP:///WEB2EDOC/... <FORM METHOD=”POST” ACTION=”(_xCALLURL)”...>
At runtime, the CALLURL value is replaced by the 'calling-url' value stored for the client session when the Web Option is first accessed and the (_xSYSTEM) value is replaced by the Web Option YSYSTEM control value. For instance, if the YSYSTEM Web Option CONTROL value is myas400:4100 and the URL used to access Web Option the first time was http://myas400:4100/WEB2E, the HTML page sent to the browser would display the previous lines as:
<SCRIPT LANGUAGE="JAVASCRIPT" SRC="HTTP://WEB2EDOC/... <FORM METHOD=”POST” ACTION=”http://WEB2E...>
Users can include user-defined substitution variables in HTML pages by specifying them within System Variable tags. For instance, the following tag would be replaced at runtime by the _w2evsn substitution variable:
(_x_w2evsn)
Some substitution variables are defined by Web Option and others can be created by users in scripts. See The GET and PUT commands in the appendix “Scripting” for more details on how to create your own substitution variables in a script.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |