|
On Tue, 2004-08-31 at 14:10, Justin Houchin wrote: > Hi everyone, > I am creating a new program that will search specified output queues > by usrdta for* held* spool files and release the spool file for > printing. I have planned on using the following API's to do this: > QUSCRTUS -- Create User Space > QUSLSPLF -- List Spooled Files > QUSRTVUS -- Retrieve User Space > QUSRSPLA -- Retrieve Spooled File Attributes > QUSDLTUS -- Delete User Space > I will pass the spool attributes to a CL that will call the RLSSPLF > command. > > Am I heading in the right direction, or can this be done an easier way? Hi Justin I have a similar utility on my site using those APIs, and it works okay. See the Midrange-l archive posting from last month: http://archive.midrange.com/midrange-l/200407/msg00248.html Regards, Martin > Thanks, > Justin Houchin > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. -- martin@xxxxxxxxxx AIM/Gaim: DBG400dotNet http://www.dbg400.net /"\ DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ / Source free test environment tools and others (file/spool/misc) X [this space for hire] ASCII Ribbon Campaign against HTML mail & news / \
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.