[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] #ifdef UNIX not showing UNIX
- Subject: [sqr-users] #ifdef UNIX not showing UNIX
- From: amy.harvel@phoenix.gov
- Date: Tue, 2 Dec 2008 11:25:27 -0700
- Delivery-date: Tue, 02 Dec 2008 13:28:23 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
In our HRMS 8.9 -- tools 8.49.13 environment, our #ifdef UNIX does not
work, only on of course UNIX. I know this must be defined somewhere. Can
someone guide me, so I can guide my PSADMIN to correct this? It is
causing a lot of issues. I know I can code for $sqr-platform - but --
that seems silly, especially if #ifdef UNIX has worked for 15 years... (of
my PS coding).
Thanks in advance for any assistance.
SQR Code
------
show 'Your are running on $sqr-platform=' $sqr-platform
let $type = lower(getenv('COMSPEC'))
show 'Your platform $type = ' $type
#ifdef UNIX
show 'Hi UNIX'
#else
show 'Hi Not Unix'
#end-if
------------------
Log File On NT -- Good
-------------------------------------
Your are running on $sqr-platform=WINDOWS-NT
Your platform $type = c:\windows\system32\cmd.exe
Hi Not Unix
Log File on UNIX
-------------------------------------
Your are running on $sqr-platform=UNIX
Your platform $type =
Hi Not Unix
Amy Harvel
City of Phoenix Information Technology Services
602-261-8974
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users