|
Thanks folks but I still don't think I'll b/able to savobj multiple srcf's to a savf since the srcf's have different names. If I build a file containing just srcf's savobj won't allow me to save 1 file per savf, right? I'm figuring to move the srcf's to another lib and savlib. -----Original Message----- From: vhamberg@xxxxxxxxxxx To: midrange-l@xxxxxxxxxxxx Sent: Mon, 20 Nov 2006 11:48 AM Subject: Re: Saving multiple source files to a single savf This is good information - thanks. I have one proviso - I've never been comfortable with reading the QADBXREF directly. -------------- Original message -------------- From: Luis Rodriguez <luis.rodriguez2@xxxxxxxxx>
Hi, I've not been following this thread closely, so don't know if anyone has given the following alternative: Use the QSYS/QADBXREF file. It contains xref information for all the files in the system, with attributes such as kind of file (PF, LF, etc.) and type (Source, data, etc.). A SQL statement would be: * ----------------- SELECT DBXFIL, DBXLIB, DBXTXT FROM QADBXREF WHERE SUBSTR(DBXLIB, 1,1) <> 'Q' AND DBXATR = 'PF' AND DBXTYP = 'S' * ----------------- The "Substr(DBXLib"... is for omitting the System libraries. Regards, Luis Rodriguez --- midrange-l-request@xxxxxxxxxxxx wrote:------------------------------ message: 2 date: Fri, 17 Nov 2006 19:51:35 -0600 from: Vernon Hamberg subject: Re: Saving multiple source files to a single savf Yeah, Al, that's why i suggested dspfd *basatr in another post - DSPOBJD has no information as to whether a file is source or data - only that it is a PF and maybe PF38 - several DSPFD type parameter settings have the single-letter column for source or data type in their outfile. Regards Vern At 04:07 PM 11/17/2006, you wrote:Alternatively, you could do DSPFD *MBRLIST, and thatgives you a one letterattribution of if it's source or not. Al Al Barsa, Jr. Barsa Consulting Group, LLCLuis Rodriguez IBM Certified Systems Expert eServer i5 iSeries Technical Solutions ________________________________________________________________________________
____ Sponsored Link Compare mortgage rates for today. Get up to 5 free quotes. Www2.nextag.com -- 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 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.