Consultor Eletrônico



Kbase P47748: 4GL/ABL: How to specify the acceptable error percentage when running load_d.p?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   20/01/2009
Status: Verified

GOAL:

4GL/ABL: How to specify the acceptable error percentage when running load_d.p?

FACT(s) (Environment):

All Supported Operating Systems
Progress 9.x
OpenEdge 10.x

FIX:

The percentage of acceptable errors is set by assigning the variable user_env[4] in the ?general initializations? section of the ?prodict/load_d.p?. This variable is by default set to zero:

/****** general initialisations ***********************************/
assign
save_ab = SESSION:APPL-ALERT-BOXES
SESSION:APPL-ALERT-BOXES = NO
user_env[3] = "" /* "MAP <name>" or "NO-MAP" OR "" */
user_env[4] = "0"
user_env[6] = "f" /* log errors to file by default */
dot-d-dir = ( if dot-d-dir matches "*" + "/"
or dot-d-dir matches "*" + ".d"
or dot-d-dir = ""
then dot-d-dir
else dot-d-dir + "/"
).
To change the default value to 15%, modify the above statement as follows:

/****** general initialisations ***********************************/
assign
save_ab = SESSION:APPL-ALERT-BOXES
SESSION:APPL-ALERT-BOXES = NO
user_env[3] = "" /* "MAP <name>" or "NO-MAP" OR "" */
user_env[4] = "15"
user_env[6] = "f" /* log errors to file by default */
dot-d-dir = ( if dot-d-dir matches "*" + "/"
or dot-d-dir matches "*" + ".d"
or dot-d-dir = ""
then dot-d-dir
else dot-d.-dir + "/"
)..