Unix type *for $file in loop* for Quiz?

Ronald W. Olenic olenicr@dteenergy.com
Mon, 21 Feb 2000 15:18:06 -0500


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

Hello!

If I understand the question, you have a file with multiple records that
you want quiz to read.

For PowerHouse to read the file, it must be a fixed length record.  If
this is the case, there are two ways for quiz to read a file.  Create a
dictionary definition for your "raw" file, or create a subfile
definition for your "raw" file.  either way, you will need to know the
record definition.

For example if the raw file contains a 5 character invoice, you would
need to do the following.

> define d_invoice char * 5 = "ARRGH"
> set subfile name raw_sub portable keep
> go

This will create a 1 record subfile and dictionary.  Replace the data
portion of the subfile with your data file and access the subfile from
within quiz.


The opinions expressed are my own.  They are not intended to replace the
advice of a physician.  Always consult you family physician before
beginning a strenuous program of PowerHouse coding.

Ron Olenic
Senior Systems Analyst

"Stamps, Theron" wrote:
> 
>         Good Day fellow list members,
>         I'[m hoping someone can shed some light on a possible QUIZ feature.
>         An associate and I are working on a project to create a delineated
> file from our Image database.  We currently use a third party product from
> GEAC for transient billing, although the file it produces is "raw" it does
> contain a list of the qualifying transient invoices we want to bill.
>         Does QUIZ have a function that will allow us to use the transient
> numbers in the *raw* file for control numbers to qualify the extraction?
> Something like the *for $FILE in [FILENAME]* Unix function to create a
> looping program the refers back to the control file for each account number
> to extract.
>         Thanks in advance.
> 
> Theron J. Stamps
> Systems Analyst
> San Angelo Standard-Times
> Voice:  915.659.8220
> Pager:  1.800.788.0207
> Text Pages:  www.skytel.com
> Email:  stampstj@texaswest.com
> Emergency Email:  theron@beepwear.net
> (This will cause a pager notification to be sent)
> 
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
> Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
> This list is closed, thus to post to the list, you must be a subscriber.
--------------13DDC80DFBC3C019D0895C33
Content-Type: text/x-vcard; charset=us-ascii;
 name="olenicr.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Ronald W. Olenic
Content-Disposition: attachment;
 filename="olenicr.vcf"

begin:vcard 
n:Olenic;Ronald
x-mozilla-html:TRUE
org:Compuware
adr:;;;;;;
version:2.1
email;internet:ronolenic@bigfoot.com
title:Senior Systems Analyst
note;quoted-printable:The opinions expressed are my own, and as such are subject to change or  even complete reversal without notice=0D=0A
fn:Ronald Olenic
end:vcard

--------------13DDC80DFBC3C019D0895C33--

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.