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



Two problems I see....
1) You'd have to monitor every outq
2) Sometimes the file is gone by the time you can react.
Remember, it has to be in a RDY state to have a message placed on the data queue and I've seen them disappear into the printers buffer before I could do anything.


Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power




-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: Tuesday, February 18, 2020 11:07 AM
To: Midrange Systems Technical Discussion
Subject: Re: Easy way to have all of a given user's spool files automatically held?

There is a way to use a DTAQ, perhaps - here is the documentation on
this feature -

You can associate a data queue with an output queue so that when a
spooled file on the output queue goes to a ready (RDY) status, an
entry is sent to the data queue.

To view the layout or content of the data queue entry that is sent,
seeRecord type 01 data queue entry format
<http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=/rzalu/rzalurectype01.htm>.

To associate the data queue and output queue, use theCreate Data Queue
(CRTDTAQ)command to create the data queue. Specify the maximum message
length (MAXLEN) parameter value as at least 128. The sequence (SEQ)
parameter value is*FIFOor*LIFO. Then, on the


A program could be waiting on the DTAQ and have a table to control what
you do.

Maybe?

Vern

On 2/17/2020 4:14 PM, James H. H. Lampert wrote:
I've probably asked this before, and probably more than once, but . . .

Is there an easy way to set a given user so that *all* of that user's
spool files are held on creation?

--
JHHL


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.