Generating Sample FOCUS Data Sources

How to:

The sample FOCUS data sources are delivered as tutorials in a jtar file under USS, which must be unloaded to an application on z/OS.

Procedure: How to Generate Sample FOCUS Data Sources

  1. From the TSO command line, enter the following command.
    OMVS

    This command puts you in your root directory under USS. We will refer to this directory as /u/user1.

  2. Create a directory for the jtar file and open that directory.

    The following commands create a directory under your root directory named unload and opens that directory.

    mkdir unload
    cd unload
  3. FTP to your MVS host.

    The following command opens FTP to a host named mvshost.

    ftp mvshost

    You will be prompted to enter your user ID and password.

  4. Establish binary transfer mode, transfer the jtar file to the directory you created, and quit out of FTP.

    Issue the following commands.

    bin
    get 'hlq.f.home.bin(jtar)' jtar
    quit

    where hlq is the high-level qualifier under which you installed FOCUS.

  5. Unload the jtar file.

    Issue the following command.

    tar -xvf jtar
  6. Exit from USS.
  7. Create a PDSE with a member named EDASERVE and concatenate it to the data sets allocated to DDNAME ERRORS in your FOCUS JCL or CLIST.

    The EDASERVE member enables APPS by setting the APPROOT variable, and sets the edahome_dir variable to the directory you created under USS. For example:

    APPROOT=USER1.APPS         
    edahome_dir=/u/user1/unload

    Note: The edahome_dir variable line must be in lowercase.

  8. Start FOCUS and issue the following command to create the FOCUS data sources.
    EX SAMPLTUT TUTORIAL=LEGACY

    The FOCUS data sources will be generated in an application named IBISAMP, which will consist of a set of data sets whose high-level qualifier consists the value of APPROOT, and the application name. For example, the following is a partial list of the data sets created for APP IBISAMP, where the user ID is USER1 and APPROOT is set to USER1.APPS:

    USER1.APPS.IBISAMP.ACCESS.DATA   
    USER1.APPS.IBISAMP.BROKERS.FOCUS 
    USER1.APPS.IBISAMP.CAR.FOCUS     
    USER1.APPS.IBISAMP.CASHFLOW.FOCUS
    USER1.APPS.IBISAMP.COURSE.FOCUS  
    USER1.APPS.IBISAMP.DTD.DATA      
    USER1.APPS.IBISAMP.EDUCFILE.FOCUS
    USER1.APPS.IBISAMP.EMPDATA.FOCUS 
    USER1.APPS.IBISAMP.EMPLOYEE.FOCUS

    If you do not want to run focus using APPS, you can copy the application data sets to other data sets and remove the data set you created with the EDASERVE member from the ERRORS concatenation.

    For more information about APPS, see the Developing Applications manual.


Information Builders