× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Paul, on our website, in the download section, there is a DIR command that
will display the contents of an IFS directory to the screen, *print or
*outfile.
I have used the command to create another command that is not posted, but I
will email if you like, called CMBDIRDTA that will allow you to specify the
directory.  Here is a screen shot of the command.

                    Combine Directory Data to PF (CMBDIRDTA)

 

 Type choices, press Enter.

 

 From Directory Name  . . . . . .

 

 To AS400 Physical File . . . . .                 Name

   Library: . . . . . . . . . . .     *CURLIB     Character value

   Member:  . . . . . . . . . . .     *FIRST      Character value

 Create physical file . . . . . .   *NO           *YES, *NO

 File size if CRTFILE *YES  . . .                 Character value

 Delete directory data  . . . . .   *NO           *YES, *NO

 


cjg

Carl J. Galgano
EDI Consulting Services, Inc.
600 Kennesaw Avenue, Suite 400
Marietta, GA  30060
(770) 422-2995 - voice
(770) 425-8391 - 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

-----Original Message-----
From: pnelson@xxxxxxxxxx [mailto:pnelson@xxxxxxxxxx] 
Sent: Tuesday, April 26, 2005 7:57 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Output the contents of an IFS directory to a flat file



I'm working on a method to automate the use of the GUNZIP utility Scott
Klement pointed me to. Simply put, when I receive a bunch of these zipped
files into a directory, I need to unzip them, and use the CPYFRMSTMF command
to place them into a flat file. I would like to know if there is a way to
output these file names into a file that could be read by a CL program
(sorta like DSPFD permits using an outfile). DSPLNK wil only permit display
to the screen and to a spool file. I really don't want to mess with CPYSPLF.

TIA

Paul Nelson
Arbor Solutions, Inc.
 708-670-6978  Cell
pnelson@xxxxxxxxxx


-- 
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-2024 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.