|
Murtuza, It turns out that OS/400 has APIs that been around for a while to a achieve this. It can even be done quite simply from CLP. The APIs to call are QHFOPNSF,QHFWRTSF,QHFRDSF,QHFCLOSF. Note that these apply to the traditional folders, not to files in the IFS. Cheers, Peter -----Original Message----- From: murtuza jadli [mailto:m_jadli@yahoo.com] Sent: Thursday, September 13, 2001 6:32 PM To: rpg400-l@midrange.com Subject: How to read AS400 Folder Dear All, How to raed AS400 Folder QDLS from RPG, CL or RPGLE. Like If I want to find the name of all the files that are stored in \QDLS\TEMP, then how to read the files name. Waiting for your early reply, Thanks. Murtuza Jadli __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. This communication is confidential and may be legally privileged. If it is not addressed to you, you are on notice of its status. Please immediately contact us at our cost and destroy it. Please do not use, disclose, copy, distribute or retain any of it without our authority - to do so could be a breach of confidence. Thank you for your co-operation. Please contact us on (09) 356 5800 if you need assistance.
As an Amazon Associate we earn from qualifying purchases.
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.