using env vars in PH on NT4
Boyle, Joe
Joe.Boyle@cognos.com
Wed, 9 May 2001 05:20:08 -0400
Hi Bob,
try the following,
suppose you have variables 'set myd=c' and 'set mydir=liz' as below,
U:\>set my
myd=c
mydir=liz
In your bat file add a command such as 'set myloc=%myd%:\%mydir%' then when
you issue the use command, quiz will action the file c:\liz\quse.txt, see
below,
U:\>quiz
*E* No dictionary file with the specified name
Q U I Z (PowerHouse 8.21.D4)
Copyright 2000 COGNOS INCORPORATED
Licensed PH8-TEMPORARY for customer: 071257000
> use $myloc\quse.txt list
> set dict D:\PW2201EB\Demos\phd.pdc
>
U:\>set my
myd=c
mydir=liz
myloc=c:\liz
regards,
Joe Boyle.
-----Original Message-----
From: Edis, Bob [mailto:bob.edis@fleetpride.com]
Sent: 04 May 2001 18:49
To: 'powerh-l@list.swau.edu'
Subject: FW: using env vars in PH on NT4
Thanks Christina
We have the environment variables set as system variables but even the batch
(.BAT) files wouldn't translate them, let alone Quiz. So instead we placed
all the relevant variables, phd, phuse, phtemp, phexe, phlog, etc., in a
common .BAT file and call that from the jobs that run the PowerHouse
programs.
The system variables DO work when in interactive mode however. E.g. phedit
is working correctly when issuing a REVISE command in Qdesign.
Regards,
Blue
-----Original Message-----
From: Hasse, Christina [mailto:Christina.Hasse@COGNOS.com]
Sent: Friday, May 04, 2001 12:46 PM
To: 'Edis, Bob'
Subject: RE: using env vars in PH on NT4
Hi Bob,
You should try setting phuse as a system variable and see if it works that
way.
Regards,
Christina Hasse
ADT North American Services Mgr.
COGNOS CORPORATION
christina.hasse@cognos.com
Office: 847 - 285 - 2905
Cell: 847 - 612 - 6854
-----Original Message-----
From: Edis, Bob [mailto:bob.edis@fleetpride.com]
Sent: Friday, May 04, 2001 12:39 PM
To: 'powerh-l@list.swau.edu'
Subject: using env vars in PH on NT4
G'day all
Has anyone been using DOS environment variables with their Quiz programs?
I am trying to use something like 'USE %phuse%myusefile.use' but the
variable is not translating. Instead I get an error message that says:
*W* No such file or directory <phuse%myusefile.use>
The variable phuse is set in the .BAT file that executes the Quiz program as
SET phuse=d:\dirpath\.
Regards,
Robert Edis
Manager - Business Intelligence
FleetPride
520 Lake Cook Rd., Suite 100
Deerfield IL 60015
Tel: 847.572.8039
Fax: 847.444.1096
www.fleetpride.com
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.