Creating Compiled FOCUS Windows Files

How to:

Certain FOCUS interactive utilities present screens to the user. The source files for these screens are distributed as TRF files. In order to use them, you must run the TRF2FMU FOCEXEC, which compiles them into FMU files, which are formatted screens that are used by these utilities.

If you use any of the following FOCUS features or utilities, you must run the TRF2FMU FOCEXEC in order to create the FMU files:

Procedure: How to Create Compiled Window Files

  1. Determine if your site runs any of the products listed above.
  2. If so, make a copy of the TRF2FMU FOCEXEC that is distributed in the install_HLQ_FOCEXEC.DATA library.

    For example, create a copy named TRF2FMUO (original).

  3. Edit the TRF2FMU FEX and place your install_HLQ in between the quotes of the -DEFAULT &INSTALLHLQ = ' ' command.

    For example, specify the high-level qualifier used when you executed ISETUP to install FOCUS. Assume this high-level qualifier is INSTALLID.PROD7709. Change the following:

     -DEFAULT &INSTALLHLQ = ' ' 

    to:

    -DEFAULT &INSTALLHLQ = 'INSTALLID.PROD7709'           

    Note: The TRF2FMU FOCEXEC will create a new library named INSTALLID.PROD7709.FMU.DATA.

  4. Bring up FOCUS using the sample FOCUSC CLIST that was created by ISETUP and resides in the install_HLQ.CONF.DATA library.
  5. Execute the TRF2FMU FOCEXEC from the FOCUS command prompt (it runs in less than 30 seconds).

    For example:

    > > ex trf2fmu                                               

    When the FOCUS prompt returns, the FOCEXEC has created all necessary compiled Window files.

  6. Exit FOCUS by issuing the FIN command at the FOCUS prompt.
  7. Edit the FOCUSC CLIST and add an allocation for DDNAME FMU.

    For example, add the following allocation to the FOCUSC CLIST:

    ALLOC F(FMU)      DA('INSTALLID.PROD7709.FMU.DATA') SHR REU      

Note: You must use the updated FOCUSC CLIST to run any of the FOCUS features or utilities that require compiled Window files. Prior releases of FOCUS required you to add allocations for DDNAMEs TRF and FMU. However, these allocations have now been automatically added to the CLIST by the TRF2FMU FOCEXEC.


Information Builders