The Initialize API framework command initializes metadata, control, configuration or notifications files. This command also initializes API framework. Creates necesarry stored procedures.
Element | Description |
---|---|
Framework | Consist set of programs, commands and objects required to process communication to dispatcher. It contains also set of tools for RPG programmer. |
Config | Consists set of files witch store configuration of framework. For example definition of exit programs. |
Metadata | Consists set of files and objects required to save program interface (API metadata). Keeps also statistics or requrests. |
Control | Consists set of files which store security infirmation about metadata. |
Notifications | Not used. Consists set of files which are used to keep notifications messages, subscribed servers and all data required to send notification to the browser. |
Following parameters are available for this command:
Parameter | Mandatory | Description |
---|---|---|
LIB_META | Y | Specifies the destination library for metadata element. |
LIB_CTL | Y | Specifies the destination library for control element. |
LIB_CFG | Y | Specifies the destination library for configuration element. |
LIB_NOT | Y | Specifies the destination library for notification element. |
LIB_API | Y | Specifies the destination library for Aperio Framework element. (Usually IAF100AP). |
MODE | Y | Specifies the destination library for configuration element. See modes description |
Following modes can be provided for command:
MODE | Description |
---|---|
*ALL | Initialize all elements. |
*METADATA | Initialize metadata element only. |
*CONTROL | Initialize control element only. |
*CFG | Initialize configuration element only. |
*NOT | Initialize notification element only. |
*FRAMEWORK | Initialize Aperio framework element only. |
Examples:
INZAPIF LIB_META(IAF100AP) LIB_CTL(IAF100AP) LIB_CFG(IAF100AP) LIB_NOT(IAF100AP) LIB_API(IAF100AP) MODE(*ALL) This will initialize API framework, metadata, control, configuration and notification will be placed into library IAF100AP
INZAPIF LIB_META(XXX) LIB_CTL(XXX) LIB_CFG(IAF100AP) LIB_NOT(IAF100AP) LIB_API(IAF100AP) MODE(*ALL) This will initialize API framework. Metadata, control and configuration will be placed into library XXX
INZAPIF LIB_META(MMM) LIB_CTL(CCC) LIB_CFG(GGG) LIB_NOT(NNN) LIB_API(IAF100AP) MODE(*ALL) This will initialize API framework. Metadata will be placed into MMM library, control will be placed into library CCC, configuration will be placed in GGG library and notification will be place into NNN library. Framework will be in IAF100AP library.