Uniface Underground -> Undocumented.Features.Only. Go Home

Some $trc_ settings

There exists a few $trc setting which offer you trace information into a log file.
 
Setting Descripton and values
$trc_start The name of the log file
$trc_enable
$trc_info The kind of information inclosed in the log file. Can be set to one or many of this keywords: none, all, num, pid, prg, cat, lvl, dtm,nl
$trc_type Values allowed : startup, cached, direct
$trc_levels A value in hex (9E seems to work)
$trc_frame

Source Alex Leguevaques

A good combination which can be use to debug strange errors is :

$trc_type=direct
$trc_levels=9E
$trc_info=all
$trc_start=sys$login:uni_trace.log
 
This generate a file which looks like this :
 
 1     1e      932645065 ( 16619 if_7204]supra.exe;16) RDB_I_DBDRV  IO Path=0 entity=none
 1     2e      932645065 ( 16619 if_7204]supra.exe;16) RDB_I_SELFID IO Drv. U4.1
 1     3e      932645065 ( 16619 if_7204]supra.exe;16) RDB_I_DRVPAR IO Drv.param O, D 5,E,S 200,L,R,Y
 1     4e      932645065 ( 16619 if_7204]supra.exe;16) RDB_I_DBRTN  IO Drv. returns 0 in udrverr
 1     5e      932645065 ( 16619 if_7204]supra.exe;16) RDB_I_EDBDRV LO Exit=0
 1     6e      932645065 ( 16619 if_7204]supra.exe;16) RDB_I_DBDRV  LO Path=0 entity=none
 1     1e      932645065 ( 16619 if_7204]supra.exe;16) RDB_I_SQL    LO Starting
 exec. imm. of CONNECT TO 'ATTACH ALIAS UNIF7$BASE FILENAME UNIF7$BASE DBKEY SCOPE IS ATTACH' AS 'UNIF7$BASE'


Copyright © 1999-2000  $UUU  All rights reserved.
Disclaimer. | Site Comments.