You could modify that to
insert into log (
SELECT
REMOTE_ADDRESS , JOB_NAME , LOCAL_PORT, Count(*) FROM
QSYS2.NETSTAT_JOB_INFO
WHERE LOCAL_PORT = 23 AND JOB_TYPE = ''INTERACTIVE'' AND JOB_NAME NOT
LIKE
''%QPADEV%'' GROUP BY ROLLUP(REMOTE_ADDRESS,JOB_NAME,LOCAL_PORT) ORDER
BY
REMOTE_ADDRESS , JOB_NAME'
)
And you will probably have an issue with that version of RUNSQL at some
time.
https://www.itjungle.com/2012/05/30/fhg053012-story01/?cm_mc_uid=28203764966614864815428&cm_mc_sid_50200000=1486657269
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.