Using SETSYSTEMVAL in Quiz
Edis, Bob
BEdis@usbnc.org
Thu, 26 Sep 2002 14:36:52 -0500
G'day Guy
Try using
DEFINE d_a INT SIZE 1 = 1 IF (SETSYSTEMVAL('STDATE',ASCII(st-date,8))) ELSE
0
I haven't got PH around (haven't had for over a year) to test it but I
believe the SETSYSTEMVAL() has to be part of a condition not the value
assignment.
Regards,
Blue
-----Original Message-----
From: Guy Werry
To: PH Mailing List (E-mail)
Sent: 9/26/2002 2:11 PM
Subject: Using SETSYSTEMVAL in Quiz
Hey there all. Quiz 7.33.D3 on HP-Ux 10.20.
I'd really like to be able to use Quiz to do a SETSYSTEMVAL, but it
keeps
gagging on me, even though the manual seems to indicate that Quiz knows
how
to use SETSYSTEMVAL.
Below is an example of the sort of error that I get:
> def a integer signed size 1 =
(setsystemval('STDATE',ascii(st-date,8)))
^^^^^^^^^^^^
*E* Expected: - ( ABSOLUTE CEILING CHECKSUM DATE DATEEXTRACT
DAYS
ROUND LINKVALUE FLOOR LASTDAY ADDCENTURY REMOVECENTURY
NCONVERT
SIZE INDEX MOD SUM <number> MISSING NULL SYSDATE SYSTIME
<qualifier> <item>
Anyone got any bright ideas?
G.L. (Guy) Werry
Senior Systems Analyst
Hudson Bay Mining & Smelting
Ph: 204-687-2374
Fax: 204-687-2771
guy.werry@hbms.ca
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.