Internal data structures

When you write user defined rules to implement processing logic specific to your application, you will need to be familiar with the internal data structures of the Scheduler. This section contains the header files for you to use as a road map of these internal structures. By studying these header files, “factor.h” and “fproro.h”, for example, you can determine how operation processing communicates with the resource selection process. The internal data structures are similar to the system database structure. In many cases, the tables and columns in the database map directly to the structures and variables in the internal data structures.

The header file “factor.h” contains most of the system component data structures and other constants, includes, and so on, required by the Scheduler. This file is installed in your <Directory>\APS\Scheduler\UserCode folder, where <Directory> is the product’s installation folder (for example, Infor). It is a text file which can be printed or viewed using any text editor or word processor.

The header file “fproto.h” contains all the function prototypes needed by the user for functions defined in Sections 2 through 6 of this manual. This file is installed in your <Directory>\APS\Scheduler\UserCode folder, where <Directory> is the product’s installation folder (for example, Infor). It is a text file which can be printed or viewed using any text editor or word processor.