Documentation >
MAC-PAC Reference Library >
Reference >
Common Features >
Key Concepts and Procedures >
Sample BPM Extract Programs
Sample BPM Extract Programs
Eight sample RPG extract programs and their calling CL programs are provided with the software. To use these sample extract programs, you will need to define an event in the Event Maintenance conversation and tie that event to one of the sample extract programs.
This section provides the following information for each of the sample extracts:
A brief description of the program and the information it extracts.
A description of the route based on information.
A description of the information included in the concatenated 40-character event detail information field.
A description of the control value information.
The action codes for the event, the associated calling CL program, and the fast path information extracted and passed with each action code.
A sample of the Event Maintenance Detail screen illustrating how the event should be defined in the Event Maintenance conversation.
The Event Nature Master file (CF203M1) records for these sample extract programs are not provided because many of the fields are user-defined codes or parameters. However, there are a few fixed parameters when using one of the sample extract programs:
The extract program type should be whatever code you have defined on Reference File category N05 (Business Process Manager Defaults) for programs. The extract name should be the name of the extract’s calling CL program.
The sample extract programs have been designed to handle the action codes that represent the conversations that users will most likely want to access when reviewing the occurrence of a particular event.
Note: It is very important that the action codes listed for each event are set up for the event in the order that they are listed here.
The action codes shown in the screen samples are user-defined codes that you must set up in Reference File category N04. You do not need to use the same codes as shown to represent the MAC-PAC conversations that have been pre-defined for the event.
Any changes to the information that appears in the 40-character event detail field, the control value definition, the route based on definition, or the action codes definition will require at least some minor changes to the sample extract program.
The literals for the control value description, route based on description, and the headings for the 40-character event detail field can be different from what is shown below. Note that although the headings can be different, the alignment of the individual pieces of information in the heading must remain the same.
Related