System variables from within QUIZ

fernando.olmos at hpa.com.au fernando.olmos at hpa.com.au
Thu Nov 30 17:53:34 CST 2006


That's over 100 passes in our case, sometimes.
 
Hmmmm... thanks for the suggestion. Never thought of the MAX verb.
 
However, I've decided to create a flat file record structure and I use
it to create the link to the DAT file, which is of course the text file
I created before hand.
 
As a matter of interest, in Unix, the following command is useful to add
space padding to strings, which I use to allow up to the maximum record
length in my flat file structure ...
 
!cat ./mipss156t2b.ps | awk '{printf("%1251s\n", $0)}' >
./mlink_file.dat

The mipss156t2b.ps is the data portion of the portable subfile and the
mlink_file.dat is the file referenced by the dictionary record
reference. The '$0' is saying, what ever comes out of that CAT command,
use it as a parameter into the printf() function, via the AWK command.
 
I hope this helps.
 
Cheers
 
-----Original Message-----
From: atla38 at dsl.pipex.com [mailto:atla38 at dsl.pipex.com] 
Sent: Friday, 1 December 2006 10:45 AM
To: Fernando Olmos
Cc: powerh-l at lists.sowder.com
Subject: RE: System variables from within QUIZ



You would run a pass to each item, appending to the subfile for each
item total, and then finally run a pass as below,

 

Set sum myresults keep append

Rep sum itemA max itemB max itemC max ...etc...

 

If you know there are n lines you can access the final row using 'link
to record n of * myresults', if not, make it an indexed subfile and give
the results row a unique key.

 

**********************************************************************
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/20061201/058a5ffe/attachment.htm


More information about the powerh-l mailing list