WRKAPICFG (DSPAPICFG) - Work with API Configuration

The Work with API Configuration (WRKAPICFG) command allows you to work with various API framework configuration files.

NOTE: There are no parameters for this command.

NOTE: The (DSPAPICFG) Display API Configuration command shows the same data as WRKAPICFG command but only with ability to display data. No possobility to maintain data.

Following general congiguration groups are available:

Confoguration groupDescription
Exit pointsThis group allows You co configure exit points. See exit points configuration

Exit points

Aperio has several exit points. They can be used to inject own code inside process of aperio.

To define exit point You need to provide exit point id and sequence. If there are more than one exit point for the same id all of them wil be run one after another. The order of call is determined by sequence.

NOTE: There are number of exit points which are preloaded to aperio after installation. They are croucial from Aperio runtime point of view. Make sure that YOu are 100% sure when You wan to delete or change standard Aperio exit point.

Following exit points are available to define:

Exit Point NameDescriptionStructure of data
R0005001Find program source. Called when aperio tryies to establish location of source for RPG programprogram (10A), library (10A), file (10A), member (10A)
R0005002Update parameter. Called before update parameter based on entire sourcemethod (60A), subsetSeq (2P 0), parent (30A), parameter (30A)
R0005003Update parameter. Called after update parameter based on entire sourcemethod (60A), subsetSeq (2P 0), parent (30A), parameter (30A)
R0005004Update method in metadata. Called after method was updated in metadatamethod (60A), subsetSeq (2P 0)
S0005001Open files before method program is called.program (10A), retCode (1A)
S0001002Security program before method callmethod (60A), program (10A), user (10A), callStackEntry (30A) retCode (1A)

By F8 You can go to Basic Info panel. On this panel You cna see the actual location of all elements of aperio environments together with actual version of each element. Additionally there are statistics available. Number of requests current year, month and day.