

System Generation Statements › PROGRAM Statement—Defines and Associates a Program
PROGRAM Statement—Defines and Associates a Program
The PROGRAM statement is used to define a program and associate it with a system. DC/UCF programs are subschemas, database procedures, and system-supplied programs (for example, IDMSOCF). DC/UCF programs are also maps, edit and code tables, SQL access modules, CA ADS, and user programs written in COBOL, PL/I, and Assembler.
Each program the DC/UCF system uses must exist as a load module and must be known to the runtime system. Programs are identified to the runtime system in any of these ways:
- Manually by defining them in the data dictionary using the system generation PROGRAM statement or the DC OPTION of the DDDL compiler PROGRAM statement
- By providing for their automatic definition in the data dictionary at runtime. You enable automatic program definition with the system generation SYSTEM statement UNDEFINED PROGRAM COUNT parameter
- Defining them dynamically at runtime using the DCMT VARY DYNAMIC PROGRAM command
You must code one PROGRAM statement to define each of the following programs to the system:
- All database procedures, including CA-supplied database procedures (for example, IDMSCOMP for data compression and IDMSDCOM for data decompression) and user-written procedures.
- All subschemas that have not been compiled into the data dictionary with the subschema compiler.
- The system program RHDCBYE, used at user signoff.
- All CA-supplied programs associated with the online components and system tasks included in the system definition. For more information, see System Programs and Tasks.
Copyright © 2014 CA.
All rights reserved.
 
|
|