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



William,

It is there, see 'user-specified-data' at offset 90d below:

SPLA0100 Format
The following table shows the information returned for the SPLA0100 format. 
Offset 
Dec  Hex  Type  Field  
0  0  BINARY(4)  Bytes returned  
4  4  BINARY(4)  Bytes available  
8  8  CHAR(16)  Internal job identifier  
24  18  CHAR(16)  Internal spooled file identifier  
40  28  CHAR(10)  Job name  
50  32  CHAR(10)  User name  
60  3C  CHAR(6)  Job number  
66  42  CHAR(10)  Spooled file name  
76  4C  BINARY(4)  Spooled file number  
80  50  CHAR(10)  Form type  
90  5A  CHAR(10)  User-specified data  
100  64  CHAR(10)  Status  
110  6E  CHAR(10)  File available  

Regards,

Gerry Tucker
Senior Analyst Programmer
Technicolor
Wembley, UK
Tel: +44(0)208-900-6555






-----Original Message-----
From: William A.(Tony) Corbett [mailto:corbett@xxxxxxxxxxxxxxx]
Sent: 25 April 2003 15:32
To: MIDRANGE-L@xxxxxxxxx com
Subject: Retrieve "User Data" from spool files?


Hi,
I'm trying to retrieve the "User Data" (usrdta) field from spool files on an
OutQ.  I've been trying the QUSRSPLA API, format SPLA0100, and it doesn't
give me what I want.  I've looked at the record-layout specs for this
format.  It has a field called "user defined data", but this does not seem
to be it.

I change the usrdta field on the CHGSPLFA screen to something recognizable,
then look at the return data from the API and I don't see the values I'm
entering.

Any advice?  or examples?

I feel sure that this can be done, I just don't know how.

TIA

AS/Resources, Inc.
William A.(Tony) Corbett
IBM Certified Specialist - AS/400 Developer
http://www.asresources.com
corbett@xxxxxxxxxxxxxxx
770-587-4812 (office)
678-935-5006 (mobile)
fax:  404-663-4737



_______________________________________________
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.cgi/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.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.