checking HP Variables

Martin McDonough MartinM@Rosebys.com
Thu, 8 Nov 2001 11:38:31 -0000


Nice one Joe, 

But not everyone can afford to have powerhouse development on their live
machine.

Martin

> -----Original Message-----
> From:	Boyle, Joe [SMTP:Joe.Boyle@cognos.com]
> Sent:	08 November 2001 11:31
> To:	'Scott Gates'; 'Powerh-L (E-mail)
> Subject:	RE: checking HP Variables
> 
> Hi Scott, 
> 
> you could try playing around with the go/nogo options, example below, 
> 
> quiz 
> >exec yourquiz.qzc nogo 
> >set report device ...otherprinter... 
> >page heading ...other heading... 
> >go 
> 
> the old quiz would then run with the revised settings for this run only. 
> 
> 
> -----Original Message----- 
> From: Scott Gates [ <mailto:SGates@olbh.com>] 
> Sent: 07 November 2001 21:49 
> To: 'Powerh-L (E-mail) 
> Subject: checking HP Variables 
> 
> 
> I have some QUIZ code that checks to see if it's running on an HP or not. 
> 
> @IF HPMPE OR HPMPEXL 
>   USE MARS152U NOLIST 
> @ELSE 
>   USE ALT$DATA:MARS152U.DAT NOLIST 
> @ENDIF 
> 
> I was wondering.  I need to check HPSTREAMEDBY[1:5] = "TRANS" 
> If it is TRUE, direct a 2nd copy of the quiz report with a different
> heading 
> to another printer. 
> 
> Would code similar to the above do it? 
> Say something like: 
> @IF HPSTREAMEDBY = "TRANS" 
> DEFINE HEADERSTR CHAR* 30 = <blah.blah> 
> :FILE QUIZLIST;DEV=<blah> 
> @ENDIF 
>    
> Is this DOABLE within QUIZ? 
> 
> The job is generated on the fly by the application and I can't change the 
> JCL. I can only change the code it calls to generate the QUIZ report.  
> There are several other changes also needed but, I'm trying to investigate
> 
> this before I can even make judgment on whether or not it's even worth 
> trying.  
> 
> 
> 
> Scott Gates 
> Programmer/Analyst 
> Information Services 
> Our Lady of Bellefonte Hospital 
> P.O. Box 789 
> Ashland, Kentucky 41105-0789  
> ----------------------------------- 
> Phone: (606)833-3773 
>   Fax: (606)833-3342 
> ----------------------------------- 
> Intranet: <http://Olbh01iis/intranet/index.html> 
> Primary e-mail  : [ <mailto:sgates@olbh.com>] 
> Alternate e-mail : [ <mailto:msgates@pobox.com>] 
> ----------------------------------- 
> Our Lady of Bellefonte : <http://www.olbh.com> 
> ----------------------------------- 
> Confidentiality Notice: This e-mail message, including any attachments, is
> 
> for the sole use of the intended recipient(s) and may contain confidential
> 
> and privileged information.  Any unauthorized review, use, disclosure or 
> distribution is prohibited.  If you are not the intended recipient, please
> 
> contact the sender by reply e-mail, fax or phone and destroy all copies of
> 
> the original message. 
> 
> 
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
> 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. 
> 
> This message may contain privileged and/or confidential information.  If
> you have received this e-mail in error or are not the intended recipient,
> you may not use, copy, disseminate or distribute it; do not open any
> attachments, delete it immediately from your system and notify the sender
> promptly by e-mail that you have done so.  Thank you.
>