Pre- and Post-processing Macros
- Last UpdatedApr 24, 2023
- 1 minute read
You can write their own macros to be run before and after the both the Export and Import processes have taken place. This lets you build a model in the base product which then needs some sort of pre- or post-processing. This is performed using the variables below:
-- Pre/Post Export User Defined Macros
!!bocPreExpMac = |bocpreexport|
!!bocPostExpMac = |bocpostexport|
!!bocPreImpMac = |bocpreimport|
!!bocPostImpMac = |bocpostimport|
The above syntax defines the names of macros which are to be found in the folder structure below the %PMLLIB% environment variable. They are named as above with the PML suffix, '.pmlfnc'.
These macros will be called before and after the process has been executed. These macros should have either no arguments and return no value or have a single FILE argument and return no argument. The optional FILE argument refers to the ABSI log file.
Note:
It is for you to handle all internal errors within the macros. Errors that are not
handled could cause the transfer process to crash.