Defining Customizer User Rules

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Once defined, you can use and reuse any Customizer User Rule in any AMB program or application. A Customer User Rule can be a rule unto itself, or it can modify an AppMaster Builder Rule definition. Customizer User Rules are saved to your USERMACS project subdirectory, and AMB Rules reside in the %ProgramFiles(x86)%\Micro Focus\Enterprise Server\etc\APSMACS directory by default.

Follow these guidelines to create Customizer User Rules:

When you generate your programs, the MFG automatically generates COBOL from your Customizer User Rules; no extra generation steps are required.

List rules in the application definition

To include a rule in your application, you specify its rule library name in the application definition in the AMB Project Explorer. Additionally, you specify in the Location area the program location where you want to include it. Alternatively, you can code a % INCLUDE statement in the program at the desired location.