Previous Topic: 7.3.1.2 Define the Application (ZTMGENIN)

Next Topic: 7.3.2 Define the Input Format Routine (DYfdaFMT)

7.3.1.3 Generate Shells


Once the shell is coded, check the syntax of the
fdaGENIN member as follows:

    o First, ensure that the GEN statement in
      sharedprefix.MICS.GENLIB(fdaGENIN) reads as follows:

      GEN SYNTAX

    o Then, code the following JCL in
      sharedprefix.MICS.CNTL(fdaCGEN), supplying your own job
      statement parameters:

      //fdaCGEN JOB  ....
      //fdaCGEN EXEC MICSGU,COMPT=fda

      and submit the job.  Review the listing, make any
      corrections to the fdaGENIN member as indicated in the
      MICSLOG output, and resubmit the syntax check job as
      many times as necessary to produce error-free output.

When the syntax check job runs without error, you are ready
to generate the documentation shells and file description
members.  To generate them,

    o Ensure the GEN statement in
      sharedprefix.MICS.GENLIB(fdaGENIN) reads as follows:

      GEN GENSHELL

    o If you are not building an MSI component, modify the
      fdaCGEN JCL created earlier.  Add the name of your
      complex-level hold user source library following the
      USOURCE= designator.

      //fdaCGEN EXEC MICSGU,COMPT=fda,
      //  USOURCE='sharedprefix.MICS.HOLD.USER.SOURCE'

    o Submit the fdaCGEN job.  The modules generated by the
      shell generation are listed in Figure 7-1.

      Note:  The following modules are not generated by
             GENSHELL.  If you want to exercise CA MICS
             exception processing with your field-developed
             application, code the following:

             o  DYfdaEXC (Daily Exception Analyzer Routine)
                in sharedprefix.MICS.SOURCE

             o  DYfdaEXC (Daily Exception Analyzer Routine)
                in sharedprefix.MICS.HOLD.USER.SOURCE

             o  fdaEVA (Exception Value Analyzer Routine)
                in sharedprefix.MICS.SOURCE


+---------+----------+-----------------------------------------+----------+-----------------------------------+----------+

| | Generated| | MCG | Data Set Into | |

|Generated| Module | | Program | Which Module Is | |

| Type | Name | Generated Module Title | Name | Generated | Notes |

|---------+----------+-----------------------------------------+----------+-----------------------------------+----------+

|SAS Code | $cccMSTR | Master Options MACROs | GENSASMI | sharedprefix.MICS.HOLD.USER.SOURCE| |

|SAS Code | $cccMSTR | Master Options MACROs | GENSASMI | sharedprefix.MICS.SOURCE | |

|SAS Code | $cccEXIT | User Exit MACROs | GENSASEX | sharedprefix.MICS.HOLD.USER.SOURCE| |

|SAS Code | $cccEXIT | User Exit MACROs | GENSASEX | sharedprefix.MICS.SOURCE | |

|SAS Code | #ffftSUM | Special Summarization Routines | GENSASEX | sharedprefix.MICS.SOURCE |see Note 1|

|SAS Code | DYcccFMT | Daily Input Format Routine | GENSASFM | sharedprefix.MICS.SOURCE | |

|SAS Code | DYcccMBO | Daily MBO Report Routine | GENSASMI | sharedprefix.MICS.HOLD.USER.SOURCE| |

|SAS Code | DYcccMBO | Daily MBO Report Routine | GENSASMI | sharedprefix.MICS.SOURCE | |

|SAS Code | WKcccMBO | Weekly MBO Report Routine | GENSASMI | sharedprefix.MICS.HOLD.USER.SOURCE| |

|SAS Code | WKcccMBO | Weekly MBO Report Routine | GENSASMI | sharedprefix.MICS.SOURCE | |

|SAS Code | MNcccMBO | Monthly MBO Report Routine | GENSASMI | sharedprefix.MICS.HOLD.USER.SOURCE| |

|SAS Code | MNcccMBO | Monthly MBO Report Routine | GENSASMI | sharedprefix.MICS.SOURCE | |

| | | | | | |

|SAS Code | DAYsss | %INCLUDE List for Daily DB Update | GENSASIN | sharedprefix.MICS.INCLLIB | |

|SAS Code | WEEKsss | %INCLUDE List for Weekly DB Update | GENSASIN | sharedprefix.MICS.INCLLIB | |

|SAS Code | MONTHsss | %INCLUDE List for Monthly DB Update | GENSASIN | sharedprefix.MICS.INCLLIB | |

|SAS Code | YEARsss | %INCLUDE List for Yearly DB Update | GENSASIN | sharedprefix.MICS.INCLLIB | |

|SAS Code | #cccMACS | %INCLUDE List for Summarization | GENSASIN | sharedprefix.MICS.INCLLIB | |

|SAS Code | cccGTEST | %INCLUDE List for Testing Online DB | GENSASTS | sharedprefix.MICS.INCLLIB | |

|SAS Code | cccATEST | %INCLUDE List for Testing Archive DB | GENSASTS | sharedprefix.MICS.INCLLIB | |

|SAS Code | cccDATAS | PROC DATASETS for DB Checking | GENSASTS | sharedprefix.MICS.SOURCE | |

|SAS Code | #DBMccc | Database Space Modelling Logic | GENSASIM | sharedprefix.MICS.SOURCE | |

| | | | | | |

|JCL/GCL | DYcccsss | Step JCL for Daily Job | GENPROST | sharedprefix.MICS.PROTOLIB | |

|JCL/GCL | WKcccsss | Step JCL for Weekly Job | GENPROST | sharedprefix.MICS.PROTOLIB | |

|JCL/GCL | MNcccsss | Step JCL for Monthly Job | GENPROST | sharedprefix.MICS.PROTOLIB | |

|JCL/GCL | YRcccsss | Step JCL for Yearly Job | GENPROST | sharedprefix.MICS.PROTOLIB | |

| | | | | | |

|Text | PICccc | Data Dictionary PIC List | GENTXTDD | sharedprefix.MICS.INC.TEXT | |

|Text | eeeeeeee | Data Dictionary Shells | GENTXTDD | sharedprefix.MICS.INC.TEXT | |

| | | | | | |

+---------+----------+-----------------------------------------+----------+-----------------------------------+----------+


Note 1:  Module #ffftSUM is generated when "E" is specified on the FILE statement in cccGENIN for the timespan "t".

Note 2:  You can copy the dictionary shells generated by the GENSHELL from sharedprefix.MICS.INC.TEXT to
         sharedprefix.MICS.DIC.TEXT but be sure the members being copied do not already exist in
         sharedprefix.MICS.DIC.TEXT.

  Figure 7-1.  Shell Modules Generated by GENSHELL Process