D3 version 9.0 question

147 views
Skip to first unread message

CDMI - Steve T

unread,
Apr 4, 2012, 6:30:46 PM4/4/12
to mvd...@googlegroups.com
in QM, i have :
@DS - indicates system delimiter (ie: '\' for DOS and '/' for Linux)
@PATH - current path of account (ie: d:\usr\qm\CDMICLOCK or /usr/qm/CDMICLOCK)
TMP$PATH   = CONFIG("TEMPDIR")
temporary operating environment path

are there ways or equivalent to determine this in D3/Windows and D3/Linux ?

thanks in advance,
Steve T

Tony Gravagno

unread,
Apr 4, 2012, 7:43:19 PM4/4/12
to mvd...@googlegroups.com

Check the D3 Ref, look for "@ Shell Variable". There are a bunch of them in there.

 

I wrote a couple blogs on the topic, way more than you're probably looking for, but I think you'll be able to create your own shell vars that do exactly what you want after reading the first or second blog on the topic.

http://nebula-rnd.com/blog/tech/mv/2008/03/d3shell1.html

 

HTH

T

Scott Ballinger

unread,
Apr 4, 2012, 8:05:04 PM4/4/12
to mvd...@googlegroups.com
Not sure about Windows, but in D3 Linux you just execute "pwd" and capture the results.
I don't know of a @DS equivalent, but you could always check the "pwd" results.
Note that in D3 you can change your pwd by executing a "cd /my/new/directory/".
If you then shell out you'll be in that new directory. Note also that "pwd" and "cd"  are D3 verbs; If you do a O/S "cd" while shelled out you will change the working directory for that session, but when you return to D3 you will be back where you started.
I like the D3 way of changing the working directory, in UV I always have to refer to O/S files using the /fully/qualified/path/to/filename.  (Maybe someone can tell me how I don't need to do that?)
/Scott Ballinger

CDMI - Steve T

unread,
Apr 5, 2012, 10:00:41 AM4/5/12
to mvd...@googlegroups.com
thanks for all the advise
i really appreciate it
take care,
Steve T

Mark Brown

unread,
May 15, 2012, 1:11:22 AM5/15/12
to mvd...@googlegroups.com
PRINT SYSTEM(100)
 
D3;Windows;pick0;6.1.7601;;6.1;9.0.2.005;21 Jul 2011
 
Mark
Reply all
Reply to author
Forward
0 new messages