OK, next problem. ;-) This works:
SELECT JOB_STATUS, COUNT(*) as COUNT
FROM TABLE(QSYS2.JOB_INFO(JOB_USER_FILTER => 'DLCLARK')) as JBI
GROUP BY JOB_STATUS
ORDER BY JOB_STATUS;
JOB_STATUS COUNT
ACTIVE 1
OUTQ 123
But this fails:
SELECT JOB_STATUS, COUNT(*) as COUNT
FROM TABLE(QSYS2.JOB_INFO(JOB_SUBMITTER_FILTER => '*USER')) as JBI
GROUP BY JOB_STATUS
ORDER BY JOB_STATUS;
Message:
[SQL0443] JOB_SUBMITTER_FILTER PARAMETER INVALID
Now what? ;-)
Sincerely,
Dave Clark
This mailing list archive is Copyright 1997-2026 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.