Does anybody know how to suppress selection criteria on QUIZ output?

Joe Boyle atla38@dsl.pipex.com
Tue, 8 Mar 2005 18:40:02 -0000


you could write the result to a subfile and then do as below, but you might
get away with adding the setsystemval line only,

can cle
access *subfile
def d1=1 if setsystemval ( "PETERS", holiday of subfile)
bui PB_setvar

quiz auto=PB_setvar.use > /dev/null  >2>&1

cat PB_setvar.use
exe PB_setvar
$export the_result =$PETERS
Exit

Followed by test on env var $the_result


Regards, Joe.



-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com] On Behalf Of Peter Bateman
Sent: 08 March 2005 18:14
To: powerh-l@lists.sowder.com
Subject: RE: Does anybody know how to suppress selection criteria on QUIZ
output?

Hi Joe & Mike:

This wipes out all the output.

I did manage to get just
the output

by export TERMOUT=`tty`
     set report device term $TERMOUT

However, I am back to sed because I want to use the output in a script 
command.
e.g. export RESULT=`quiz ...`
and this does not pick up my output.
Regards,
Peter

>
>Is this not solved using standard out/error as in e.g. > /dev/null  2>&1
>
>Regards, Joe.
>
>
>-----Original Message-----
>From: powerh-l-admin@lists.sowder.com
>[mailto:powerh-l-admin@lists.sowder.com] On Behalf Of Peter Bateman
>Sent: 08 March 2005 17:07
>To: powerh-l@lists.sowder.com
>Subject: Does anybody know how to suppress selection criteria on QUIZ
>output?
>
>
>Hi all:
>
>   I am using environment variables to provide the selection criteria for a
>QUIZ report.
>   A nice message comes out telling me what my selection criteria are. But
>this time
>   I don't want the output.
>
>
>Environment variable used for CHOOSE : T.
>Environment variable used for CHOOSE : 20050701.
>HOLIDAY=0
>
>All I want in the report is the last line.
>   I have tried SET NOSTATISTICS
>                    SET NOWARN
>                    SET NOHEAD
>
>I am about to apply SED to the output to get rid of them.
>Thanks,
>Peter Bateman
>
>_________________________________________________________________
>Take charge with a pop-up guard built on patented MicrosoftR SmartScreen
>Technology
>http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=ht
t
>p://hotmail.com/enca&HL=Market_MSNIS_Taglines
>   Start enjoying all the benefits of MSNR Premium right now and get the
>first two months FREE*.
>
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l@lists.sowder.com
>Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
>Unsubscribe: "unsubscribe <password>" in message body to
>powerh-l-request@lists.sowder.com
>http://lists.sowder.com/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.
>
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l@lists.sowder.com
>Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
>Unsubscribe: "unsubscribe <password>" in message body to 
>powerh-l-request@lists.sowder.com
>http://lists.sowder.com/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.

_________________________________________________________________
Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The new

MSN Search! Check it out!

= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.