Custom UBE Errors

jpenner

Member
When creating a custom UBE, is there a way to write a new error code (defined in the data dictionary, glossary group x) to the JDE log?
 

Larry_Jones

Legendary Poster
Although it doesn't use a DD error code you can use BSFN B0900102 to write your own messages to the JDE logs.

Larry Jones
ljones@wagstaff.com
OneWorld B733.1, SP 11.3
HPUX 11, Oracle SE 8.1.6
SandBox: OneWorld XE SP15
 

jpenner

Member
Thank you for your response. We've looked up the BSFN on the KG - it looks like it writes to the the debug log, not the JDE.log. We were able to execute the BSFN locally and saw the results in the debug log, but we're having difficulty running this on the server (AS/400). We would prefer to have these messages write to the JDE.log since we don't want to have debug turned on unless necessary. Is this what you've found as well?
 

Larry_Jones

Legendary Poster
JP,

sorry, haven't tested this on a server myself. Per the documentation it is SUPPOSED to write to the UBE log (look in the PrintQueue directory) when run on a server.

regards,

Larry Jones
ljones@wagstaff.com
OneWorld B733.1, SP 11.3
HPUX 11, Oracle SE 8.1.6
SandBox: OneWorld XE SP15
 
Top