How to verify the actual dlc used?

tzunami

New Member
Dear All,Can anyone please give me a hand in this..what command should i use to check for the right dlc is progress currently using?I need to verify this as my client having more than 1 dlc folder and they doesn't know which folder is they are using exactly. I need to know which folder they are using as i wanna upgrade their current service pack.*notes: i'm in Compaq tru64 environment.Thanx a million in advanced
 
From a command line use "ps -ef". That will probably reveal the path to the executables.

Or, if users have command line access, login as a user and echo $DLC.
 
hi Tom, thanx for your reply..just wanna confirm whether the command u posted is platform independent? means, it is universal for all version of progress?thanx in advance..:)
 
No. Those were quick and dirty methods that should generally work for most UNIXs most of the time. But there are plenty of ways for them to go wrong.

The ps command, for instance, won't be very helpful if the admin has added $DLC/bin to the PATH and then calls progress executables without an explicit path (something that I do to keep ps output short and readable). The echo $DLC won't be completely reliable unless you shell out from within a user session (it's possible that a user startup script overrides whatever is at the shell level when you start a session).

For a more portable solution you might try parsing the propath variable from within a 4gl session. Or you could use OS-GETENV( "DLC" ) for the 4gl session.
 
Back
Top