|
I'm not sure how consistent it is but you could try doing a DSPOBJD of files to an outfile and selecting all records that don't have a source file name. These would be your source files. -----Original Message----- From: rpg400-l-bounces+egraeb=shoppersoptical.com@xxxxxxxxxxxx [mailto:rpg400-l-bounces+egraeb=shoppersoptical.com@xxxxxxxxxxxx] On Behalf Of Ben_Pforsich@xxxxxxxxxxxx Sent: Tuesday, May 31, 2005 2:14 PM To: RPG programming on the AS400 / iSeries Subject: How to tell *FILE object is PF-DTA or PF-SRC I need to be able to determine if a physical file is a data or source physical file in RPG IV. I thought the QUSROBJD API could be used for this, but I don't see how. The attribute returned is always "PF" regardless. Any ideas? Ben Pforsich Programmer Analyst Bob Evans Farms, Inc. I/S Department Columbus, Ohio
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.