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

Michael Lee Michael.Lee@mclsystemsinc.com
Tue, 08 Mar 2005 10:31:19 -0800


This is a multi-part message in MIME format.
--------------030201080109070200000204
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi Peter,

Hmmm, perhaps you could redirect the output into a flatfile and then use 
that flatfile as input? Something like this...

quiz auto=whatever > myflatfile

and, if you use quiz in the next pass...

quiz auto=whatever2 < myflatfile

I'm guessing you're on a Unix box and there might be some additional 
things you need to do to ensure each line is treated separately... 
there's like a 'dd' command or something that is involved but I forget 
the details.

Regards,


Michael Lee
MCL Systems Inc.
p.s. Again as I said in my previous email Peter-me giving you Powerhouse 
advice is definitely one of the 7 signs of the coming apocalypse ;-).


Peter Bateman wrote:

> 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=htt 
>>
>> 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.
>

--------------030201080109070200000204
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Peter,<br>
<br>
Hmmm, perhaps you could redirect the output into a flatfile and then
use that flatfile as input? Something like this...<br>
<br>
quiz auto=whatever &gt; myflatfile<br>
<br>
and, if you use quiz in the next pass...<br>
<br>
quiz auto=whatever2 &lt; myflatfile<br>
<br>
I'm guessing you're on a Unix box and there might be some additional
things you need to do to ensure each line is treated separately...
there's like a 'dd' command or something that is involved but I forget
the details.<br>
<br>
Regards,<br>
<br>
<br>
Michael Lee<br>
MCL Systems Inc.<br>
p.s. Again as I said in my previous email Peter-<i>me </i>giving <i>you
</i>Powerhouse advice is definitely one of the 7 signs of the coming
apocalypse ;-).<br>
<br>
<br>
Peter Bateman wrote:<br>
<blockquote type="cite"
 cite="midBAY20-F41F7FE76229531F59478E4AB500@phx.gbl">Hi Joe &amp;
Mike:
  <br>
  <br>
This wipes out all the output.
  <br>
  <br>
I did manage to get just
  <br>
the output
  <br>
  <br>
by export TERMOUT=`tty`
  <br>
&nbsp;&nbsp;&nbsp; set report device term $TERMOUT
  <br>
  <br>
However, I am back to sed because I want to use the output in a script
command.
  <br>
e.g. export RESULT=`quiz ...`
  <br>
and this does not pick up my output.
  <br>
Regards,
  <br>
Peter
  <br>
  <br>
  <blockquote type="cite"><br>
Is this not solved using standard out/error as in e.g. &gt; /dev/null&nbsp;
2&gt;&amp;1
    <br>
    <br>
Regards, Joe.
    <br>
    <br>
    <br>
-----Original Message-----
    <br>
From: <a class="moz-txt-link-abbreviated" href="mailto:powerh-l-admin@lists.sowder.com">powerh-l-admin@lists.sowder.com</a>
    <br>
[<a class="moz-txt-link-freetext" href="mailto:powerh-l-admin@lists.sowder.com">mailto:powerh-l-admin@lists.sowder.com</a>] On Behalf Of Peter Bateman
    <br>
Sent: 08 March 2005 17:07
    <br>
To: <a class="moz-txt-link-abbreviated" href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a>
    <br>
Subject: Does anybody know how to suppress selection criteria on QUIZ
    <br>
output?
    <br>
    <br>
    <br>
Hi all:
    <br>
    <br>
&nbsp; I am using environment variables to provide the selection criteria
for a
    <br>
QUIZ report.
    <br>
&nbsp; A nice message comes out telling me what my selection criteria are.
But
    <br>
this time
    <br>
&nbsp; I don't want the output.
    <br>
    <br>
    <br>
Environment variable used for CHOOSE : T.
    <br>
Environment variable used for CHOOSE : 20050701.
    <br>
HOLIDAY=0
    <br>
    <br>
All I want in the report is the last line.
    <br>
&nbsp; I have tried SET NOSTATISTICS
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SET NOWARN
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SET NOHEAD
    <br>
    <br>
I am about to apply SED to the output to get rid of them.
    <br>
Thanks,
    <br>
Peter Bateman
    <br>
    <br>
_________________________________________________________________
    <br>
Take charge with a pop-up guard built on patented MicrosoftR
SmartScreen
    <br>
Technology
    <br>
<a class="moz-txt-link-freetext" href="http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=htt">http://join.msn.com/?pgmarket=en-ca&amp;page=byoa/prem&amp;xAPID=1994&amp;DI=1034&amp;SU=htt</a>
    <br>
p://hotmail.com/enca&amp;HL=Market_MSNIS_Taglines
    <br>
&nbsp; Start enjoying all the benefits of MSNR Premium right now and get the
    <br>
first two months FREE*.
    <br>
    <br>
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
    <br>
Mailing list: <a class="moz-txt-link-abbreviated" href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a>
    <br>
Subscribe: "subscribe" in message body to
<a class="moz-txt-link-abbreviated" href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a>
    <br>
Unsubscribe: "unsubscribe &lt;password&gt;" in message body to
    <br>
<a class="moz-txt-link-abbreviated" href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a>
    <br>
<a class="moz-txt-link-freetext" href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a>
    <br>
This list is closed, thus to post to the list you must be a subscriber.
    <br>
    <br>
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
    <br>
Mailing list: <a class="moz-txt-link-abbreviated" href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a>
    <br>
Subscribe: "subscribe" in message body to
<a class="moz-txt-link-abbreviated" href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a>
    <br>
Unsubscribe: "unsubscribe &lt;password&gt;" in message body to
<a class="moz-txt-link-abbreviated" href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a>
    <br>
<a class="moz-txt-link-freetext" href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a>
    <br>
This list is closed, thus to post to the list you must be a subscriber.
    <br>
  </blockquote>
  <br>
_________________________________________________________________
  <br>
Don't just Search. Find! <a class="moz-txt-link-freetext" href="http://search.sympatico.msn.ca/default.aspx">http://search.sympatico.msn.ca/default.aspx</a>
The new MSN Search! Check it out!
  <br>
  <br>
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
  <br>
Mailing list: <a class="moz-txt-link-abbreviated" href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a>
  <br>
Subscribe: "subscribe" in message body to
<a class="moz-txt-link-abbreviated" href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a>
  <br>
Unsubscribe: "unsubscribe &lt;password&gt;" in message body to
<a class="moz-txt-link-abbreviated" href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a>
  <br>
<a class="moz-txt-link-freetext" href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a>
  <br>
This list is closed, thus to post to the list you must be a subscriber.
  <br>
  <br>
</blockquote>
</body>
</html>

--------------030201080109070200000204--