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



One comment in between.  I find that QUSPTRUS is a lot cleaner to maintain 
than QUSRTVUS.  Granted the thought of using a pointer was enough to send 
me shuddering in fear at first.  But after writing one using QUSPTRUS I 
found it a lot easier to understand and maintain.  There is only one 
drawback to QUSPTRUS and as long as you stick to QTEMP for your user 
spaces (which 95% of the time I do) this shouldn't be a problem.  And that 
drawback is the system value QALWUSRDMN.  Now, if I was a software vendor, 
and I wasn't using QTEMP, then I might shy away from QUSPTRUS and instead 
use QUSRTVUS.  But I am not in that category so I haven't used QUSRTVUS 
after my first use of QUSPTRUS.  Good examples of the QUSPTRUS may be 
found in the redbook.

Rob Berendt
-- 
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





Justin Houchin <justinh@xxxxxxxxxxxxx> 
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
08/31/2004 08:10 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Fax to

Subject
Search and Release Spool files






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?

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.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.