System variables from within QUIZ

fernando.olmos at hpa.com.au fernando.olmos at hpa.com.au
Wed Nov 29 23:35:28 CST 2006


Hi again guys... 

Is there a way to set a system variable from within UNIX, but not using
setsystemval(), but by actually calling Unix commands directly from
QUIZ?

i.e.    QUIZ 
        > 
        >!setenv VAR1 "test" 

Yes I know this can be done and it works, but the variable is not kept
once QUIZ returns back from the shell. So when I use getsystemval(), it
cannot find it.

The reason I need to do this outside of setsystemval, is that I have
created a txt file that has dynamic data in a single line...

i.e.    "123456, 344545, 456566, 465344,"       <--- this is the single
line text file 

What I want is to be able to use this text file as part of a heading
into my QUIZ report in another pass. How is it possible to DEFINE a
variable in QUIZ to say "... give me the contents of a text file"?

Thanks 

Fernando Olmos 
MIS 
Senior Analyst Programmer 

HPA
Direct:  03 9217 5411
Mobile: 0410 382 857
Fax:     03 9217 5716 

 <file:///H:/Appdata/Microsoft/Signatures/www.hpa.com.au> www.hpa.com.au



**********************************************************************
IMPORTANT
The contents of this e-mail and its attachments are confidential and intended
solely for the use of the individual or entity to whom they are addressed.  If
you received this e-mail in error, please notify the HPA Postmaster, postmaster at hpa.com.au,
then delete  the e-mail.
This footnote also confirms that this e-mail message has been swept for the
presence of computer viruses by Ironport. Before opening or using any
attachments, check them for viruses and defects.
Our liability is limited to resupplying any affected attachments.
HPA collects personal information to provide and market our services. For more
information about use, disclosure and access see our Privacy Policy at
www.hpa.com.au
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20061130/0fc4f6a5/attachment.html


More information about the powerh-l mailing list