The most useful HTML parameters are described below. Use the Additional Parameters tab on the Advanced Options window of the Deployment Wizard to add these parameters to your deployment file.
Name: 3270InputAreaIndication
Values:Description: Indicates that the unprotected fields in a 3270 session be indicated in a particular method.
- Underdot,DisplayAndNonDisplay
- UnderDot,NonDisplay
- UnderDot,Display
- UnderLine,Display
- UnderLine,DisplayAndNonDisplay
- UnderLine,NonDisplay
- 3DLowered,DisplayAndNonDisplay
- 3DLowered,Display
- 3DLowered,NonDisplay
- 3DRaised,DisplayAndNonDisplay
- 3DRaised,Display
- 3DRaised,NonDisplay
- Underdot - Causes a dot to be placed under every character position in the fields indicated by the second value.
- Underline - Causes an underline to be placed under every character position in the fields indicated by the second value.
- 3D - Causes a 3D rectangle to be displayed in the fields indicated by the second value.
- Display - Only unprotected displayable fields will have the selected indication applied.
- NonDisplay - Only unprotected nondisplayable fields will have the selected indication applied.
- DisplayAndNonDisplay - All unprotected fields will have the selected indication applied.
Name: AdditionalArchives
Values: Names of Java 1 or Java 2 archives, without file extensions (.cab or .jar), separated by commas. For example, if the archives are the following Java 1 archives:myCustomForNetscape.jar myCustomForInternetExplorer.cab myCustomForMozilla.jar then you should specify them like this:myCustomForNetscape,myCustomForInternetExplorer,myCustomForMozilla Description: Download the named Java archives file from the Host On-Demand server's publish directory to the workstation. This parameter works:You must place the Java archives in the Host On-Demand publish directory. Be aware that the archives will be downloaded every time a user connects to the HTML file.
- For both the Java 1 version and the Java 2 version of the Host On-Demand emulator client.
- For both the cached emulator client and the download emulator client.
Name: CustomKeyFunctionX
Value: function identifier|function data
Description: Customize the list of functions that a key or key combination can be mapped to using Keyboard Remap.Keyboard Remap allows you to remap key functions by selecting the key you want to remap, then selecting the new function you want that key to perform. The list of available key functions is limited, by default, to a set of predefined key functions; however, you can customize this list with additional functions. When this file is loaded, you can go to the Keyboard Remap dialog, choose Custom Functions from the Category list, and your custom functions will appear in the list for you to map to a key.
Here is an example of parameters that add key functions to display, respectively, a character that you cannot normally display, automate a login with user ID and password, and automate a logout.
Name: CustomKeyFunction1 Value: Ctrl-A|^A
Name: CustomKeyFunction2 Value: Login|myuserid[tab]mypw[enter]
Name: CustomKeyFunction3 Value: Logout|logout[enter]The value for the NAME field is always CustomKeyFunctionX, where X is the ordinal of the defined function. Host On-Demand iterates through the custom key function list, starting with 1 and continuing until no CustomKeyFunction value is found.
You must begin with CustomKeyFunction1 and continue in increments of 1. If the list is broken, for example, skips from CustomKeyFunction2 to CustomKeyFunction4, all values after CustomKeyFunction2 are discarded.
The VALUE consists of both the function identifier to the left side of the | and the function data to the right. The identifier displays in the Keyboard Remap function list box. The data is what the emulator processes when the remapped key is pressed.
There are three rules to keep in mind when encoding the value field.
Bracket encoding
Host On-Demand supports the ability to process SendKeys mnemonics, so to send a bracket, you must use all double brackets [[ ]]. Single open and close brackets [ ] are translated as field boundaries for SendKeys mnemonics. For more information, refer to SendKeys mnemonics.- Carat encoding
The carat (^) is used to send characters that cannot be displayed. Place a ^ in front of any character with a value greater than or equal to A (hex 41, decimal 65) to translate to that value minus hex 40 or decimal 64; for example, "^A" = = hex 01, "^B = = hex 02, and so on. The only way to get a ^ into the datastream is to double it. In other words, ^^ is equal to ^ in the datastream.- Unicode encoding
You can use Unicode encoding to put displayable and non-displayable characters into the datastream. Unicode encoding uses the format \uxxxx where xxxx is two hex bytes. The value for the escape character is \u001b.
Name: CustomTable
Value: text file name
Description: For each session you create or edit in Deployment Wizard, this parameter allows you to specify character mapping tables that translate between PC (client) and host code, facilitating interaction between users and the host application. You can create four different types of mapping tables:You create these tables as text files and store them in the Host On-Demand Publish Directory (or your alternate publish directory, if you have already designated a different publish directory on your Web server). To add the tables as HTML parameters for a session, you simply input parameter and file name in the appropriate fields of the Advanced Options window:
- Keyboard: remaps user's keyboard characters as input customized for host application
- Display: remaps host display characters into screen output customized for user
- File upload: translates client file into host code while uploading file
- File download: translates host application file into PC (client) code while downloading file
Name: CustomTable Value: samplefile.txt
Your custom table files can contain any number of tables, in any combination of type (keyboard, display, etc.). The file format is similar to that of Java properties files. For example (lines starting with # are comments; variables n and N are hexadecimal values):
##### Start of file # Map PC nn to EBCDIC NN in keyboard table sbcs.keyboard.0xnn=0xNN ..... # Map EBCDIC NN to PC nn in display table sbcs.display.0xNN=0xnn ..... # Map PC nn to EBCDIC NN in 3270 file transfer upload table sbcs.xfer_up.0xnn=0xNN ..... # Map EBCDIC NN to PC nn in 3270 file transfer download table sbcs.xfer_dn.0xnn=0xNN ..... ##### End of fileNote that the CustomTable parameter applies to the single-byte character set (SBCS) only.
Name: DebugCode
Value: 67535
Description: Turns on debug tracing for the client.
Name: Disable
Value: lum
Description: This disables license use counting and reporting for the particular HTML. By default, Host On-Demand clients will report to the configuration server when a session is launched and periodically thereafter for the duration that the session is open. The client requires direct port access to the configuration server for its reporting. If this parameter is included, the client will no longer report to the configuration server for license use counting purposes.
Name: DisableSupport
Value: true
Description: Causes the Support option of the Help menu item for the Session window to be disabled. This is useful in cases where customers do not wish to have their users contacting IBM support directly. A related parameter, SupportHTML, can be used to specify an alternate set of text to display when the user selects the Help/Support option.
Name: DoNotPrefillUser
Value: true
Description: For Configuration server-based model only. Causes the logon panel to come up with a blank user ID field. If this parameter is absent, the default is to fill in the user ID with the username requested from the system.
Name: HideHODDesktop
Value: true
Description: Hides the Host On-Demand desktop and session tabs once an embedded session starts. Do not set this parameter if you have multiple sessions running and you are not using the Session Manager JavaScript API. To prevent users from interacting with the Host On-Demand desktop, configure your session to Auto-Start.
Name: ForceJREInstall
Value: true
Description: This parameter is used in the following situation:
- The user at the Host On-Demand client workstation is running the Microsoft Internet Explorer Web browser without the Java 2 plug-in. The workstation is running Microsoft Windows.
- The user attempts to install a cached client using a Host On-Demand HTML file with a Client Java type of Java 2.
Normally in this situation the Host On-Demand client displays a popup message that offers the user the choice of either downloading the IBM Java 2 plug-in Version 1.4 for Windows or using the Java 1 version of the Host On-Demand cached client.
If you set this parameter to true then the Host On-Demand client will not display the popup message but instead will immediately the display the window that allows the user to download the IBM Java 2 plug-in version 1.4 for Windows.
For more information see When the Client Java level is Java 2
Name: IgnoreWellKnownTrustedCAs
Value: true
Description: Prevents Host On-Demand from loading the WellKnownTrustedCAs.class file.
Name: IPMonitor
Value: SessionName=My Session,TraceFile=c:\MyDirectory\trace.trcDescription: Allows the session to be started automatically with the IPMonitor utility. The IPMonitor utility traces and saves the data flowing between the client and the host. To start the session with IPMonitor:
- Set SessionName to the name of a session visible on the Host On-Demand desktop, such as
My Session
or3270 Display
. The session name must be spelled exactly as it appears in the session properties, and as it is displayed below the session icon, including spaces.- Set TraceFile to any valid file name.
For more information see Configuring IPMonitor v1.0, automatic mode.
- Float the mouse pointer icon over the session name.
- Click the right mouse button.
- Click Start Session with IPMonitor.
Name: JVMMinimum
Value: An integer with a value of 3165 or greater.
Description: Host On-Demand requires that Microsoft Internet Explorer run a Microsoft Java 1 JVM level of 3165 or greater. However, by default Host On-Demand does not check the JVM level of Internet Explorer.If you include the JVMMinimum parameter, then Host On-Demand will refuse to start a session on Internet Explorer unless the level of the Java 1 JVM of Internet Explorer is equal to or greater than the value specified by JVMMinimum.
You can set the level to 3165 or higher. For example, if you set the value to 3240, then Host On-Demand will refuse to start a session on Internet Explorer unless the level of the Java 1 JVM of Internet Explorer is equal to or higher than 3240.
Name: Save
Value: directory location
Description: For HTML-based and Combined models only. Specifies the base directory location where local user preferences will be stored. The directory must exist or the user will get an error.Examples of valid Save directories are as follows:
- Absolute paths (for example, C:\hod\prefs on a Windows operating system or /hod/prefs on a Unix-based operating system) are allowed. Mapped network drive letters can also be used in the absolute path.
- Remote computer names or IP addresses are allowed as long as the following condition is met: the user's computer must already be remotely connected and authenticated to the computer in the Save parameter (for example, when network drives are mapped; however, a mapped drive is not a prerequisite for the Save parameter to work).
Following are two examples of Save values to remote computers:
- \\DevGroup1\prefs, where prefs is a shared folder on a computer named DevGroup1.
- \\123.45.67.89\prefs, where prefs is a shared folder on a computer with an IP address of 123.45.67.89.
- Relative paths (for example, \users\preferences on a Windows operating system or ../preferences on a Unix-based operating system) are also valid. On Windows operating systems, the relative path is appended to the home directory to make an absolute path. On Unix-based operating systems, the relative path is relative to the user's current working directory.
The Save directory is only a base location for storing user preferences. Preferences will be stored in the following subdirectories within the Save directory (these folders are created dynamically): user login/profile ID/HODData/web page name.
Name: ShareCachedClient
Value: true
Description: Enables users on Windows 2000 and Windows XP multi-user machines using either Internet Explorer with the Microsoft JVM or a browser with a Java 2 plug-in to share a single image of the cached client. Only the first user will download the cached client code. Subsequent users may use or update this code without requiring a full download.If you have users who are Restricted Users, see Cached client support for Windows 2000 and Windows XP for more information on using this parameter.
Name: SharedCachedDirectory
Value: fully qualified path
Description: Allows the customer to specify the directory location where the cached client will be installedFor users who are running Windows XP or Windows 2000 operating systems and either Internet Explorer with the Microsoft JVM or a browser with a Java 2 plug-in, administrators can now specify the install directory of the shared cached client instead of accepting the default location of %SystemRoot%\Documents and Settings\All Users. You must give Read, Modify, and Write access to this directory. Host On-Demand ignores the SharedCachedDirectory parameter unless the ShareCachedClient is set to true.
You must provide a fully qualified path of the directory where you want to install the cached client, for example, c:\Program Files\IBM. The Host On-Demand cached client appends IBMHOD\HODCC to this string.
Name: SkipConfigProperties
Value: true
Description: Prevents the reading of HTML parameters from the config.properties file.Any parameters in the config.properties file (in the Host On-Demand publish directory) will apply to all HTML files, unless the HTML file specifically overrides the parameter value. If for some reason you want to prevent the HTML file from reading values in config.properties, you can use this option.
Setting global values: If you want to set global values that apply to all HTML files, you can specify any of these additional parameters in the config.properties file in the Host On-Demand publish directory. All Host On-Demand applets read the config.properties file. This provides an easier way of setting global HTML parameters than specifying them in each HTML file. Any of these HTML parameter can be set this way, and as long as the value is not specified in the HTML file, the value from the config.properties will be used.
Name: SupportHTML
Value:URL of HTML file to display when user selects Support option of Help menu item
Description: Causes the specified HTML file to be displayed when the Support option of the Help menu item for the Session window is selected.If this parameter is not specified, the help page, which provides IBM contact information, is displayed. A related parameter, DisableSupport, can be used to disable the Help/Support option.
Name: TraceOptions
Value: SaveLocation=MyLocation,OutputFile=MyOutputFile,NumberOfTraceEntries=MyNumber, traceoption1=value1,traceoption2=value2, traceoption3=option3, and so on.For more a complete list of trace types and values see Configuring the TraceOptions HTML Parameter.
- SaveLocation=MyLocation. This parameter specifies whether the trace file is saved on the server or on the client. Instead of MyLocation, you must write either Server or Local.
- OutputFile=MyOutputFile. This parameter specifies the trace file name when the SaveLocation is set to local. MyOutputFile is a valid path and file name on the client, such as c:\tracefile\trace1.trc.
- NumberOfTraceEntries=MyNumber. This optional parameter specifies the maximum number of trace entries that will be saved. Instead of MyNumber, you must write an integer, such as 1024.
- traceoption1=value1, and on. This parameter may be repeated as many times as necessary. Each repetition should specify a particular trace type and a particular value for that type, such as the following:
HOD.JNILoad=3
Description: Automatically starts the Trace Facility using the parameters and values that you specify. For more information see Configuring the TraceOptions HTML Parameter.
Name: WebServerHostname
Value: The hostname of the Host On-Demand server that the user will connect to after installing the Host On-Demand Java 2 cached client from a LAN or CD. For example, if the user will attach to the filehttp://myHODServer/hod/myFileA.html
then the hostname ismyHODServer
.
Description: Saves the user from having to type in the hostname when installing the Java 2 cached client from a LAN or CD. This parameter is useful only for the Java 2 cached client. It is not needed for the Java 1 cached client.The Java 2 cached client stores downloaded components into different directories depending on which Host On-Demand server the components were downloaded from. When the components are copied from a LAN or CD drive rather than being downloaded from a Host On-Demand server, the Java 2 cached client needs to be told the hostname of the Host On-Demand server to which these components belong. If this parameter is not present, the user will be prompted for the hostname of the Host On-Demand server.
The hostname that you supply for the value of this parameter must be spelled exactly the same, character-for-character, as the hostname that the user will later use to access this HTML file on the Host On-Demand server. For example, if the user will access the file as
http://myHODServer/hod/myFileA.html
then you should use this very same hostnamemyHODServer
for the value of this parameter. Likewise, if the user will access the file as
http://myHODServer.mycompany.com/hod/myFileA.html
then you should use this very same hostnamemyHODServer.mycompany.com
for the value of this parameter. The cached client code treatsmyHODServer
andmyHODServer.mycompany.com
as different hostnames. Dotted decimal IP addresses such as9.32.44.177
are also valid if the end user will be accessing the file as
http://9.32.44.77/hod/myFileA.html
.