System variables from within QUIZ

Robert Mills robert.mills at pinnaclearvato.co.uk
Thu Nov 30 03:18:32 CST 2006


Fernando,
 
If this extra data you require is in a file then why not add a 'LINK TO
RECORD 0 OF <record name>' to your ACCESS statement?
 
For this to work you would need to have a direct file declared in your
dictionary with a single item of suitable length.
 

regards, 
  
Robert W.Mills 
Systems Development Manager 
Pinnacle Arvato 
(020) 8309 3604 

 

  _____  

From:
powerh-l-bounces+robert.mills=pinnaclearvato.co.uk at lists.sowder.com
[mailto:powerh-l-bounces+robert.mills=pinnaclearvato.co.uk at lists.sowder.
com] On Behalf Of fernando.olmos at hpa.com.au
Sent: 30 November 2006 05:35
To: powerh-l at lists.sowder.com
Subject: System variables from within QUIZ



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 

www.hpa.com.au <file:///H:/Appdata/Microsoft/Signatures/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/f42f4e05/attachment.htm


More information about the powerh-l mailing list