Also getting a chink in IBM's armor about their requirement that I do
BATCH(*YES) ALWMLTTHD(*YES) when doing a compact via RUNDOMCMD under 8.5.
Their basic requirement is multithreading. Which you aren't going to do
without submitting RUNDOMCMD to batch, and doing that correctly.

I've just about got them believing that
SBMJOB CMD(RUNDOMCMD SERVER(server) CMD(CALL PGM(QNOTES/COMPACT) PARM('-c'
'-daos' 'on' 'mail/cedwards.nsf' '-ZU' '-n' '-v')) BATCH(*NO)
ALWMLTTHD(*NO)) JOBQ(MYLIB/SENSIBLE) ALWMLTTHD(*YES)

is an acceptable replacement for
RUNDOMCMD SERVER(servername)
CMD(CALL PGM(COMPACT) PARM('-c -daos on -ZU -n -v'))
BATCH(*YES)
ALWMLTTHD(*YES)
Because submitting it on our own allows us to pick a proper job queue and
not one that is dependent on QGPL/QDFTJOBD.

I've also discovered that if you ENDJOB one of these compact jobs that are
running via RUNDOMCMD when the server is down that you had better kill the
related BATCHI type job called LOGASIO or if you try and compact the file
again it's going to tell you that it's in the process of being compacted.

Rob Berendt

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.