[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



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