|
16MB is the *max* size of a user space PERIOD.
Thanks,
Tommy Holden
From: "Florin Todor - YYZ Concord" <ftodor@xxxxxxxxxxxxxxxx>
To: "RPG programming on the IBM i / System i" <rpg400-l@xxxxxxxxxxxx>
Date: 10/29/2009 08:54 AM
Subject: RE: I need a DSPJOBSPLF that will output to an *outfile. Ideas?
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
As far as I know, the User Space is 16MB, but if is necessary, it gets
expanded automatically... is it true?
Florin Todor
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Tommy.Holden@xxxxxxxxxxxxxxxxxxxxx
Sent: Thursday, October 29, 2009 9:02 AM
To: RPG programming on the IBM i / System i
Subject: Re: I need a DSPJOBSPLF that will output to an *outfile. Ideas?
FWIW i would use the Open List of Spooled Files (QGYOLSPL) vs. the List Spooled Files (QUSLSPL) API. The main reason is that List Spooled Files
(QUSLSPL)is limited to the 16mb due to using a user space. the Open
List of Spooled Files (QGYOLSPL) API does *not* have that limitation.
Thanks,
Tommy Holden
From: rob@xxxxxxxxx
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Date: 10/29/2009 07:53 AM
Subject: Re: I need a DSPJOBSPLF that will output to an *outfile.
Ideas?
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
I'd suggest one of two api's, either
List Spooled Files (QUSLSPL)
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apis/QUSLS
PL.htm
Open List of Spooled Files (QGYOLSPL)
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apis/qgyol
spl.htm
Do NOT blow over "API Concepts".
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apiref/api
concept.htm
I'd send you a sample but we use so many includes here that it's not really portable. Besides, doing it from scratch will drill in a hard lesson. Besides, it sounds like now you have the time...
The data queue option is cool, but there's a lot of restrictions as to what get's written on the data queue, like if the spool file is on hold,
etc.
And, how the blazes are you going to put a spool file number in a
control file???? I can see using spool file name, job name, even user defined data, but spool file number?
Rob Berendt
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.