kimmda1
27th February 2002, 21:18
This error is occuring daily in the log.bshell6.1 error file, the number of lines per day is in the thousands.
2002-02-27[08:40:44]:E:auto302t:
2002-02-27[08:40:44]:E:auto302t: ******* S T A R T of Error message *******
2002-02-27[08:40:44]:E:auto302t: Log message called from /port.6.1c.04.01/vobs/tt/lib/al_1/al_env.c: #833 keyword: get_format_entry
2002-02-27[08:40:44]:E:auto302t: Pid 116088 Uid 22705 Euid 22705 Gid 204 Egid 204
2002-02-27[08:40:44]:E:auto302t: user_type N language 2 user_name auto302t tty locale ISO88591/NULL
2002-02-27[08:40:44]:E:auto302t: Errno 0 bdb_errno 0
2002-02-27[08:40:44]:E:auto302t: Log_mesg: get_format_entry pattern '003' index 3 entry 0 not found
2002-02-27[08:40:44]:E:auto302t: ******* E N D of Error message *******

Explanation of error:

Index List:
Index Applies to: Line in datecurr starts with:
1 Default Currency of a Company A
3 Format of a Currency C
5 Format of a Date D
7 Format of a Time T
9 Format of a UTC Time U

When generating 856’s, edi is accessing the $BSE/lib/datecurr file. The datecurr file tells the script how to interpret currencies, dates, amounts, and times. Information like maximum number of positions, number of significant digits, displaying thousands and minus signs etc is obtained. Our particular error “get_format_entry pattern '003' index 3 entry 0 not found” is telling us that pattern ‘003’ (the Baan format code for prices), in index 3 (currency) for entry “0” (not found), This error is occuring because the following list of generic units, have not been assigned format codes in our system:

Generic Unit Description Symbol
FRA France Franc FRF
KRW Korea WON WON
PSD Pound Sterling psd
PTS Spaanse Peseta Pts
STK Pieces Cu5
ZKR Zweedse Kronen ZKR

My hope is that by assigning format codes to these generic units and of course updating the datecurr , our error will cease. What I don’t know is what, if any, ill effects doing this can do to our system. The datecurr will be larger, which means it will take up more room in shared memory, but will it be significant? What other issues could arrive from doing this?

Han Brinkman
28th February 2002, 09:28
First I want to make the note that this kind of errors also occurs due to errors in the programs it's not always due to an incorrect datecur configuration.

I am not sure if the datecurr file is stored in shm, could also be that the bshell reads it in local memory. However since bshell's are using several Mb of memory I would bother about a few Kb more.

Regards,
Han