Oliver.... We do exactly the same thing.  Go to our website and click the
download link.  There is a DIRectory utility that you can use to list the
files to an OUTFILE.  Then in your CL you can read the contents of the
outfile and process each file name.
cjg

Carl J. Galgano
EDI Consulting Services, Inc.
600 Kennesaw Avenue, Suite 400
Marietta, GA  30060
(770) 422-2995 - voice
(419) 730-8212 - fax
mailto:cgalgano@xxxxxxxxxxxxxxxxx
http://www.ediconsulting.com
AS400 EDI, Networking, E-Commerce and Communications Consulting and
Implementation 
http://www.icecreamovernight.com
Premium Ice Cream Brands shipped Overnight

Visit our website to subscribe to our FREE AS/400 Timesharing Service

-----Original Message-----
From: oliver.wenzel@xxxxxxxxxxxxxxxxxxxxxxx
[mailto:oliver.wenzel@xxxxxxxxxxxxxxxxxxxxxxx] 
Sent: Friday, March 26, 2004 5:11 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Processing several files in \QDLS


Hello,

I need to process an unknown number of files in the \QDLS in a CL program. 


The generic process would look like:

----------------------------------------------------------------------------
---
cpyfrmstrmf \qdls\filea to QGPL/EDI256 mbr EDI256
IMPORT QGPL/EDI256(EDI256)
next file from QDLS
----------------------------------------------------------------------------
----

The IMPORT command is a function from our EDI software that can be used 
directly in the CL program.

How do I get a list of files from a QDLS directory I that I can process in 
a CL program?

Thanks,

Oliver
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.