|
Hello John, The last time I needed to do this sort of thing I had to use the RTVMBRD command. It returns the FILETYPE -- *SRC or *DATA. You could also use the Retrieve Database File Description (QDBRTVFD) API for the same purpose but the CL command is much, MUCH easier! Regards, Simon Coulter. //---------------------------------------------------------- // FlyByNight Software AS/400 Technical Specialists // Phone: +61 3 9419 0175 Mobile: +61 3 0411 091 400 // Fax: +61 3 9419 0175 E-mail: shc@flybynight.com.au // // Windoze should not be open at Warp speed. //--- forwarded letter ------------------------------------------------------- > X-Mailer: Mozilla 4.04 [en] (Win95; I) > Date: Sat, 23 May 98 16:47:56 -0700 > From: "John Earl" <johnearl@lns400.com> > To: MIDRANGE-L@midrange.com > Reply-To: MIDRANGE-L@midrange.com > Subject: Re: PF Data & PF Source, How to Identify > > Buck,but what I'm showing is that offset 31 contains only 'PF'. There is no > indication of whether the file is of type SRC or DTA. > > jte > > Thanks for the help, > > Buck Calabro wrote: > > > On Saturday, May 23, 1998 12:35 PM, John Earl [SMTP:johnearl@lns400.com] > > wrote: > > > When using the QUSLOBJapi, how do you tell the difference > > > between Source and Data physical files? > > > > Extended object attribute, OBJL0200 format (and up), offset 31, 10 > > characters. > > > > hth, > > > > Buck Calabro > > Commsoft, Albany, NY > > mailto:mcalabro@commsoft.net > > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.