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 group | Description |
---|---|
Exit points | This group allows You co configure exit points. See exit points configuration |
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 Name | Description | Structure of data |
---|---|---|
R0005001 | Find program source. Called when aperio tryies to establish location of source for RPG program | program (10A), library (10A), file (10A), member (10A) |
R0005002 | Update parameter. Called before update parameter based on entire source | method (60A), subsetSeq (2P 0), parent (30A), parameter (30A) |
R0005003 | Update parameter. Called after update parameter based on entire source | method (60A), subsetSeq (2P 0), parent (30A), parameter (30A) |
R0005004 | Update method in metadata. Called after method was updated in metadata | method (60A), subsetSeq (2P 0) |
S0005001 | Open files before method program is called. | program (10A), retCode (1A) |
S0001002 | Security program before method call | method (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.