Have you looked at the SAVOBJ command? You can specify a generic file name or 
*ALL and limit object type to *FILE - but cannot filter by object attribute. If 
all source files start with Q and nothing else does, you are good to go.

Otherwise you would need to something like list all the objects to an outfile, 
then build the SAVOBJ command from those that are PF-SRC - up to 300 objects - 
or there is a QSRSAVO API that does not have the 300-object limit.


-------------- Original message -------------- 
From: fbocch2595@xxxxxxx 

Hi, I want to save all PF-SRC files from a single library to a single savf. 
this possible using an OS400 save command? If not, does anyone have any code 
accomplish this? 
Thanks for any info 
Check out the new AOL. Most comprehensive set of free safety and security 
tools, free access to millions of high-quality videos from across the web, 
AOL Mail and more. 
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. 

Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot 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 here. If you have questions about this, please contact