About BMS-generated templates

Attention: This topic contains Product-sensitive Programming Interface and Associated Guidance Information.
A template generated from a BMS map contains:
  • Constants and input fields from the map
  • Buttons to represent the following:
    • ENTER Start of changeand CLEAREnd of change keys
    • PA1, PA2, and PA3 keys
    • Program function keys PF1 to PF24
    • HTML reset
  • Up to five hidden variables, DFH_NEXTTRANSID.1 to DFH_NEXTTRANSID.5, whose values are the names of the first five fields in the map. The use of these variables is explained in CICS Web support and 3270 display applications.
  • A hidden variable DFH_CURSOR whose value is the name of the field in which the cursor is set in the map. If the cursor is located in an unnamed field, DFH_CURSOR is zero.
  • A JavaScript function dfhsetcursor(). When DFH_CURSOR contains the name of a field, the function sets the cursor position to that field.
  • A JavaScript exception handler for the onFocus exception. This function invokes dfhsetcursor, and tracks the movement of the cursor.