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



Eric,

what about files created with CRTPF RCDLEN(xxx)?  They won't show a source 
file either.

I'd go the API way.

Peter Colpaert
Application Developer
Massive - Kontich, Belgium
-----
Yoda of Borg are we.  Futile is resistance, assimilated will you be.
-----




"Eric Graeb" <egraeb@xxxxxxxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
01/06/2005 16:15
Please respond to RPG programming on the AS400 / iSeries

 
        To:     "'RPG programming on the AS400 / iSeries'" 
<rpg400-l@xxxxxxxxxxxx>
        cc: 
        Subject:        RE: How to tell *FILE object is PF-DTA or PF-SRC


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


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.