It works on UNIX, however, you could have a program get the environment 
variable and write out the voc with the path information.

UDTBIN_PATH = GETENV("UDTBIN")
SAVEDLOG_PATH = UDTBIN_PATH:"saved_logs"

VOC.REC        = "DIR"
VOC.REC<2> = SAVEDLOG_PATH
VOC.REC<3> = "D_BP"

It would seem unnecessary, but hey it's Friday and I'm leaving for the beach 
(bar).

Thanks,


--
Donald Verhagen          
Application Development Manager
[EMAIL PROTECTED]
Tandem Staffing Solutions, Inc.
1690 S Congress Avenue, Suite 210
Delray Beach, FL 33445  USA
Voice Phone: 561.454.3592 Fax Phone: 561.454.3640 

>>> [EMAIL PROTECTED] 3:30:06 PM 01/28/2005 >>>
How can I get this to work as I would like:

I want to have a VOC entry called UDT_SAVED_LOGS

001: DIR
002: $UDTBIN\saved_logs
003: D_BP

The Dict section doesn't matter, it just has to exist... And I would have
thought the $UDTBIN would map correctly, but it does not (6.0.6, NT) --
Should it?  Or is this one of those where each site would have to be
hard-coded to the path??

My goal is an 'In-App' test of logs - things like Replication can die
quietly..., and with no effect on the end user to warn them...  I want to
test the file for size and content and decide if I should raise a 'Red
Alert' within the appication - I can hard code the path per site, but seems
like enrvironmantals *should* work...

David W.
-------
u2-users mailing list
u2-users@listserver.u2ug.org 
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to