× 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 Carel,

>From IBM Knowledge Base 22013019
(http://www-912.ibm.com/s_dir/slkbase.NSF/0cf528a492c9b4a88625680b0002037f/0
bbbeed4841c9ce3862569e7007b4b8c?OpenDocument):

/* EXTRACT SPOOLED FILE DETAILS FOR DATA QUEUE ENTRY */
CHGVAR VAR(&JOBNAME) VALUE(%SST(&SPLFDTA 13 10))
CHGVAR VAR(&JOBUSER) VALUE(%SST(&SPLFDTA 23 10))
CHGVAR VAR(&JOBNBR) VALUE(%SST(&SPLFDTA 33 6))
CHGVAR VAR(&SPLFNAME) VALUE(%SST(&SPLFDTA 39 10))
CHGVAR VAR(&SPLFNBR) VALUE(%BIN(&SPLFDTA 49 4))

Note that the spool file number is in positions 49-52, in binary format.

Regards,
Peter Dow
Dow Software Services, Inc.
909 793-9050 voice
909 522-3214 cellular
909 793-4480 fax


----- Original Message -----
From: "Carel Teijgeler" <coteijgeler@chello.nl>
To: <rpg400-l@midrange.com>
Sent: Monday, February 10, 2003 9:48 AM
Subject: Re: Data Queues


> Bill,
>
> It depends, after putting the spoolfile in SAVE(*YES).
>
> If a job generates many spool files with the same name it will become
difficult, as the data queue option does not supply the spoolfile number.
You've only got job name, job user, job number and spool file name in the
data from the data queue. So you can only process a spoolfile with a
spoolfile number, or the special values *ONLY (this will fail) or *LAST.




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.