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



Hi Scott

Thanks for the reply.

I tried what you have mentioned in the mail. When I included Error code
between User data and qualified job name, programs throws me a runtime
error (Number parameters is more).

You have mentioned that this API accepts up to 16 parameters. Why am I
not able to pass 8 parameters?

My task here is to get the list of spools for a specific job. What
values needs to be passed to the parameters?

Currently, I'm passing the following parameters.

> User space (User space name)
> Format (SPLF0300)
> User (spaces)
> Outq (spaces)
> Form Type (spaces)
> User Data (spaces)
> Job name ("*")

Thanks & Regards
Siva

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Monday, June 23, 2003 6:05 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: QUSLSPL API question

> Call QUSLSPL with
> User space (User space name)
> Format (SPLF0300)
> User (spaces)
> Outq (spaces)
> Form Type (spaces)
> User Data (spaces)
> Job name ("*")
>
> Is there anything wrong in this call?


You're missing the error code.  It should be placed after User Data and
before Job Name.

The documentation for the API is here:
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/apis/QUSLSPL.htm


>
> What is the maximum number of parameters that can be passed for this
> API?
>

The max number of parameters is 16.   Is that really what you meant to
ask, or are you looking for something else, like the maximum number of
spooled files that it'll return?
_______________________________________________
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.


**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.