System Defaults

From BR Wiki
Jump to navigation Jump to search

This appendix lists system defaults for Business Rules! statements and procedures.

Defaults within Programs

The following defaults apply to all new programs entered into Business Rules. The system operates as if all these statements were typed in at the very start of each program.

Note that when no HELPFLDT specification is provided in the BRConfig.sys file, ON HELP SYSTEM operates as ON HELP IGNORE.

Also note that NATIVE applies unless COLLATE ALTERNATE is specified in the BRConfig.sys file when the program is entered, saved, or replaced -whichever happened last.

ON ATTN IGNORE
ON CONV SYSTEM
ON ERROR SYSTEM
ON FKEY 1 IGNORE
ON FKEY 2 IGNORE
ON FKEY 3 IGNORE
...
ON FKEY 49 IGNORE
ON HELP SYSTEM
ON IOERR SYSTEM
ON LOCKED SYSTEM
ON OFLOW SYSTEM
ON PAGEOFLOW IGNORE
ON SOFLOW SYSTEM
ON ZDIV SYSTEM
OPEN #255: "name=PRN:/10,RECL=132, PAGEOFLOW=60",DISPLAY, OUTPUT
OPTION BASE 1, COLLATE NATIVE

Defaults across Programs and Procedures

The following defaults are set when Business Rules is started. If they are changed in one program or procedure, the changes will stay in effect in following programs or procedures until they are changed again or until Business Rules is exited.

DATE$("*yy/mm/dd") ! default date format
PIC$("$") ! currency symbol is $
PROC ECHO  ! echo commands as executed
PROCERR STOP ! stop when an error occurs

BRConfig.sys File Defaults

When a particular BRConfig.sys specification is not included in the BRConfig.sys file, which is accessed at start-up, Business Rules, uses a default setting. See the "Start-up Default" sections in BRConfig.sys for more information.