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



James,
I try to look at SQL's Stored Procedure Language or SPL as the new CL.
This mentality helps one to get over the gyrations it takes to incorporate
SQL into CL. Then it makes it so much easier to use the SQL services to
get those files you want. Once you can accept that then it becomes quite
easy to wrap the following:
https://www.ibm.com/docs/en/i/7.5?topic=services-output-queue-entries-view
https://www.ibm.com/docs/en/i/7.5?topic=services-job-info-table-function


On Tue, Sep 12, 2023 at 1:21 PM James H. H. Lampert via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

Ladies and Gentlemen:

1. I'd like to be able to quickly, quietly, headlessly, and
programmatically (preferably from CL) get rid of all jobs of a given
name (call it "FOOBAR" for now), whether SCD or ACTIVE. Surely this
can't be the first time this has come up. Is there an easy way to do this?

2. In the process of setting up an experiment for this, I discovered
that we had a server that was getting a steady stream of undesired
traffic in a protocol other than what it was expecting, with the result
that I had several thousand spool files, all from different (but
identically named) jobs. Is there a way to mass-delete these? All I
found was this:

<
https://www.rpgpgm.com/2020/01/delete-many-spool-files-with-one-command.html


which doesn't seem to address the "many different identically-named
jobs" part of the problem. Anybody have any suggestions for this?

--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



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.