Installing the FOCUS Menu

How to:

The FOCUS Menu offers a convenient way to access FOCUS facilities using windows.

The FOCUS Menu should be installed when you install FOCUS. Sites installing MSO FOCUS should refer to the FOCUS MSO Installation and Technical Reference Guide.


Top of page

x
Procedure: How to Install the FOCUS Menu

If installing SiteAnalyzer, refer to the SiteAnalyzer for FOCUS Installation and Operations Manual.

  1. Allocate the FMU.DATA data set.

    Data set FMU.DATA requires the following allocations in addition to the allocations described in Basic Installation Steps:

    Data Set

    Allocation Parameters

    trk

    FMU.DATA

    Primary Allocation
    Secondary Allocation
    Directory Blocks

    (LRECL=4096, BLKSIZE=12288, RECFM=FB)

    115
    15
    10

  2. Modify the FOCLOAD JCL.

    Add the following DD statements to the corresponding allocations in the JCL used to unload the distribution cartridge found in Basic Installation Steps. To find the file number for FMU.DATA on the distribution cartridge, see File Numbers on the Distribution Cartridge.

    //I40   DD  DSN=FMU.DATA,DISP=(OLD,PASS),UNIT=TAPE,
    //        VOL=SER=volid,LABEL=(nn,SL)
    //O40   DD  DSN=prefix.FMU.DATA,DISP=OLD
     .
     .
     .
    COPY   INDD=I40,OUTDD=O40

    where:

    prefix

    Is the high-level qualifier for your FOCUS production libraries.

    nn

    Is the file number of FMU.DATA on the distribution cartridge. To find the appropriate file number, see File Numbers on the Distribution Cartridge.

  3. Install the FOCUS site code and test the FOCUS system as described in Basic Installation Steps. For MSO FOCUS, you must also perform all of the installation steps in the MSO Installation and Technical Reference Guide.
  4. To enable the FOCUS Menu, edit member SHELPROF in FOCEXEC.DATA, which was unloaded from the distribution cartridge.

    The FOCEXEC contains the following commands:

    -* This FOCEXEC will be executed only after PROFILE FOCEXEC
    -* execution has been completed.
    -* INCLUDE FMMAIN

    Remove the comment (*) from the line with the INCLUDE command.

    -INCLUDE FMMAIN
  5. Test the FOCUS Menu by entering FOCUS with the following allocations:
    DYNAM FREE FILE MASTER FOCEXEC FMU CAR ERRORS
    DYNAM ALLOC FILE MASTER  DA prefix.MASTER.DATA SHR REUSE
    DYNAM ALLOC FILE FOCEXEC DA prefix.FOCEXEC.DATA SHR REUSE
    DYNAM ALLOC FILE FMU     DA prefix.FMU.DATA SHR REUSE
    DYNAM ALLOC FILE CAR     DA prefix.CAR.FOCUS SHR REUSE

    The minimal allocation for testing the FOCUS Menu requires ddnames FOCEXEC, FMU, and ERRORS. Allocate MASTER and a database (CAR in this example) to test specific FOCUS Menu facilities. Any of the ddnames in the example above may have concatenated data sets.

    Note: In MSO FOCUS, ERRORS should not be freed and re-allocated.

    The FOCUS Menu will appear.

    The cursor should be positioned on the first option on the menu, "Next, Next Menu Option".

    You can exit FOCUS by pressing PF3 to go to the Quit Menu.

    Move the cursor to the last option on that menu, Quit FOCUS, and press Enter.

  6. Continue the installation of FOCUS with Install Link-Edited User Exits and Change Defaults.

Top of page

x
Procedure: How to Install the TRF File (Optional)

The FOCUS TRF file contains the site/SAF window procedure source code.

When installing SiteAnalyzer, refer to the SiteAnalyzer for FOCUS Installation and Operations Manual for details concerning TRF.DATA.

  1. Allocate the TRF.DATA data set.

    In addition to the allocations described in Basic Installation Steps, data set TRF.DATA requires the following allocations:

    Data Set

    Allocation Parameters

    Trk

    TRF.DATA

    Primary Allocation
    Secondary Allocation
    Directory Blocks

    (LRECL=132, BLKSIZE=9768, RECFM=FB)

    60
    5
    45

  2. Modify the FOCLOAD JCL.

    Add the following DD statements to the corresponding allocations in the JCL used to unload the distribution cartridge (see Basic Installation Steps. To find the file number for TRF.DATA on the distribution cartridge, see File Numbers on the Distribution Cartridge):

    //I41   DD DSN=TRF.DATA, DISP=(OLD, PASS), UNIT=TAPE,
    //        VOL=SER=volid, LABEL=(nn,SL)
    //O41   DD DSN=prefix.TRF.DATA, DISP=OLD
    .
    .
    .
    COPY    INDD=I41, OUTDD=O41

    where:

    prefix

    Is the high-level qualifier for your FOCUS production libraries.

    nn

    Is the file number of TRF.DATA on the distribution cartridge. To find the appropriate file number, see File Numbers on the Distribution Cartridge.

  3. Continue the installation of FOCUS as indicated in Basic Installation Steps.

Information Builders