Element Reference Syntax in Form Files


          2      FieldName          Element
          
        

You can reference an element by using the 14-character element name in place of the Type and Length entries in the form files. In the following example, elements define the GLS-COMPANY and GLS-NAME fields. The standard method of specifying the field type and length defines the TC field.

0        1         2         3         4         5         6         7         8
12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
*                            ELEMENT NAME
* LEVEL       NAME           TYPE LENGTH    DEC REQ OC KN SC      PICTURE
* -----  -------------------- --  ----        - -- -- --- - --------------------
$TRANS     GL001
  2     *TC                   A     06          SR
  2      GLS-COMPANY          Company           SN    01  C
  2      GLS-NAME             Description       SR
$END-TRANS GL001             

After modifying the form file, you must compile the form. For instructions on compiling a form, see Compiling a Form.