PH and text files
Robert Edis
robeconsult@sbcglobal.net
Thu, 14 Apr 2005 08:21:18 -0700 (PDT)
Darren
I think you read my eamils differently than what I was
saying. I said that if the record feidls are NOT
defined in a dictionary you MUST use INDEX() in order
to parse the fields.
Someone else already provided a good example of that.
Blue
--- Darren Reely <darren.reely@latticesemi.com> wrote:
> Robert,
>
> You've suggested twice that Powerhouse can parse a
> delimited file
> without the use of INDEX(). How about a real example
> for the list?
>
> As far as I know, Powerhouse cannot do this with
> that complex and
> redundent code you mention.
>
> Darren
>
>
> Robert Edis wrote:
> > The issue (at least on OpenVMS) is not whether the
> > file is fixed or variable length but the fact that
> > unless the record fields are defined in a PH
> > Dictionary Quiz won't know how to parse the record
> > into its components. The developer would have to
> > write complex and redundent code in Quiz to parse
> out
> > the separate fields unless the metadata is defined
> in
> > a dictionary.
>
>
> > BUT, PH still cannot parse a delimited text file
> (or
> > XML file) unless it's metadata is first defined
> in a
> > dictionary or you write the code using INDEX()
> > functions on the program.
>