INZAPIF - Initialize Api Framework

The Initialize API framework command initializes metadata, control, configuration or notifications files. This command also initializes API framework. Creates necesarry stored procedures.

ElementDescription
FrameworkConsist set of programs, commands and objects required to process communication to dispatcher. It contains also set of tools for RPG programmer.
ConfigConsists set of files witch store configuration of framework. For example definition of exit programs.
MetadataConsists set of files and objects required to save program interface (API metadata). Keeps also statistics or requrests.
ControlConsists set of files which store security infirmation about metadata.
NotificationsNot 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:

ParameterMandatoryDescription
LIB_METAYSpecifies the destination library for metadata element.
LIB_CTLYSpecifies the destination library for control element.
LIB_CFGYSpecifies the destination library for configuration element.
LIB_NOTYSpecifies the destination library for notification element.
LIB_APIYSpecifies the destination library for Aperio Framework element. (Usually IAF100AP).
MODEYSpecifies the destination library for configuration element. See modes description

Modes

Following modes can be provided for command:

MODEDescription
*ALLInitialize all elements.
*METADATAInitialize metadata element only.
*CONTROLInitialize control element only.
*CFGInitialize configuration element only.
*NOTInitialize notification element only.
*FRAMEWORKInitialize 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.