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



Il 16/12/2022 15:25, Greg Wilburn ha scritto:
I have QSECOFR authority. I also signed on as QSECOFR - no difference.

I can't see the spool files to know what jobs they belong to...
I tried RCLSPLSTG DAYS(*NONE). The outq still shows 3 files.

I'm stumped.



On Dec 15, 2022, at 3:45 PM, Greg Wilburn <gwilburn@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

I'm trying to clean up an old device/writer/outq that would create
PDFs on the IFS using USRDFNDTA attribute
MAILTAG(/folder/filename.pdf) (I posted about replacing this
previously)

Well, it had a spooled file "stuck" in PND status for over 2 weeks. I was able to delete that along with the DEVD and Writer associated with the OUTQ name IFSPDF. But it still thinks there are 3 files in this outq.

When I do WRKOUTQ I see this:
Queue Library Files Writer Status
IFSPDF QUSRSYS 3 HLD

However, I cannot "see" any files in the outque.
If I try to clear the outq (CLROUTQ or option 14), I get this:
0 entries deleted. 3 entries not deleted.

Help says:
Message ID . . . . . . : CPF3417 Severity . . . . . . . : 10
Message type . . . . . : Completion
Date sent . . . . . . : 12/15/22 Time sent . . . . . . : 16:41:00

Message . . . . : 0 entries deleted. 3 entries not deleted.
Cause . . . . . : 3 entries from the output queue IFSPDF in library QUSRSYS
may not have been cleared for one of the following reasons:
-- The output queue entry represents an open file.
-- The output queue entry represents a file to which a writer is active.
-- Job related resources cannot be allocated.
-- The queue was allocated by another job during the clear and this
process was not able to allocate the queue again to finish the
clearing operation.
Recovery . . . : Do one of the following and try the request again:
-- If the file is open, the file must be closed. Either wait for
the file to be closed by the job or end the job (ENDJOB command) that
is creating the file.
-- If the writer is active, the writer could be ended.
-- If the resources cannot be allocated or the output queue was
allocated by another job, either wait for the resources to become
available or determine the process that has the resources allocated
and end that process to release the resources.

Any Ideas??

Maybe you have an object connected to the outq (i.e. a DTAQ)?
Did you try to use some spool's API?



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.