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



FWIW:

What I ended up doing was writing a simple RPG program that (1) calls an SQLExecDirect front-end program we already have, to create a file in QTEMP listing the spool files for jobs of the relevant name, (2) shelling out a COMMIT with QCMDEXC, (3) walking through that spool file in a DOW NOT %EOF() loop, and (4) shelling out a DLTSPLF for each record, with another QCMDEXC.

Pity I couldn't (1) figure out how to have a WITH NC and a WITH DATA on the same CREATE TABLE query, and (2) ride The Cycle through a file that *has* to be USROPN (because it's created no earlier than *INZSR time).

Seems to me that allowing USROPN on a primary file would make perfect sense, but then again, there's such a pathological and irrational hatred of The Cycle among even RPG specialists that I'll probably never live to see such a thing.

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