Previous Topic: 4.2.4.1 Component Definition Statements

Next Topic: 4.2.4.1.2 Option Statement (OPTION)

4.2.4.1.1 Generation Type Statement (GEN)

This statement defines the type of generation to be
performed, allowing for a statement syntax check, a database
definition generation, or a "shell" module generation.
STATEMENT FORMAT

This statement is coded with the KEYWORD starting in
column 1, free-form, and continuing through column 72.
Continuation is not supported.  The following describes the
format and coding rules for the Generation Type Statement.

  GEN XXXXXXXXXX
         |
         |
         +---GENTYPE - Defines the type of generation to be
             performed, including:
STATEMENT OPTION DEFINITIONS

  GENTYPE - Defines the type of generation to be performed,
            with the valid options including:

            SYNTAX - Perform first-level syntax check of
              input statements.  No generation is performed.

            GENFILES - Generate system code and documentation
              for data elements and file definitions.

            GENSHELL - Generate shell documentation members
              for data dictionary and exception entries, and
              shell SAS source code for management objective
              reports, user exit member, exception analyzers,
              and exception value evaluators.  This option is
              ONLY used to build user components.  It is NOT
              to be used for CA-distributed components.
STATEMENT DEFINITION EXAMPLE

    GEN GENFILES

This generation statement is requesting a component
generation to generate system code and documentation for data
elements and file definitions.