Sorry, let me be more specific on the application.

I have a program writing PDF catalogs to the IFS for customers that access
our web site,
I have the files in a specific format (Catalog_for_000001_MN_0254.PDF, then
the next one
would be named Catalog_for_000001_ND_0233.PDF)

On the web page I give them a link to their catalog(s) based upon their
profile that
they signed in on(which has the number of 000001 attached to it;
incrementing)

I can read the directory to "see" that a file exists in the IFS, however I
would prefer
to read the IFS in file name order so that I can show the customer which
link(s) they
are authorized to.

I can get around the fact that the files come in to the program in no order,
but was hoping
like in DOS(sorry for swearing) or even Windows(there I go again) I could
specify the order
that I see what is in the directory.

I went over the sorcerers guide and through the archives, but mostly people
where just
seeing if a specific file existed, I wanted to do a "wild card" type search.

It has been wild, the customers are using the SRP over the web and love it,
and even
the corporate guys and VP's here have been impressed - its been fun, next
phase, getting
into full blown java to make some of these things even more portable.

I hope this explains better.

Thanks...

-----Original Message-----
From: web400-admin@midrange.com [mailto:web400-admin@midrange.com]On
Behalf Of Brad Stone
Sent: Wednesday, December 12, 2001 4:29 PM
To: web400@midrange.com
Subject: Re: [WEB400] ifs follow up read from way back..


Mark,

you're finding out why we moved (years ago) to record based
tables/PFs instead of stream files.

Now, is this data delmited at all by EOL or CRLF characters?
Are there actual "records" of data or is it one big stream?
Is it XML?  If you could give us an idea of the data, maybe
we could help.  But as far as accessing the data in a
"order", nope.

Brad
www.bvstools.com

On Wed, 12 Dec 2001 10:25:14 -0600
 "Mark A. Manske" <mmanske@minter-weisman.com> wrote:
> I can read my IFS files just fine into my rpg program;
> however I am looking
> for a shortcut,
> which may or may not be there.
>
> Here is what I cannot seem to find : A way to read the
> IFS directory
> "objects" into my program
> in ascending order by file name; it is random,
> The reason I am reading this data in, I need it in order,
> I know I could just write them to a work file, internal
> array, data queue,
> ect -
>  (actual workings are more style and department "warm and
> fuzzies")
> and then read them in the order I want, but I would
> prefer
> to "skip" that step.
>
> So is there a way while reading the IFS to specify the
> order, I am not
> seeing
> anything in the manual, I am either blind, or this is not
> possible.
>
> Can someone clarify whether I am just slow(nice for
> stupid) or just asking
> for more than we have at V4R5.
> (upgrading to V5R1 in January)
> TIA
>
>
> Mark A. Manske
> Fleming CSD - Plymouth Division
> Sr. Project Lead
> http://www.minter-weisman.com
> mailto:mmanske@minter-weisman.com
>
>
>
>
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400)
> mailing list
> To post a message email: WEB400@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/web400
> or email: WEB400-request@midrange.com
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/web400.
>

Bradley V. Stone
BVS.Tools
www.bvstools.com
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.