I am not understanding how the command is ran via QCMDEXC???
Is there a schema called ROUTINES?
On 10/22/2012 11:09 AM, rob@xxxxxxxxx wrote:
I have a sandbox lpar. On it I have a few flavors of BPCS and some other
software. No one else is currently on it at this time.
I went into iNav's Run SQL Scripts and fired this one off:
select NUMBER_DELETED_ROWS, SYSTEM_TABLE_SCHEMA, SYSTEM_TABLE_NAME,
ROUTINES.QCMDEXC('SBMJOB CMD(RGZPFM FILE(' || TRIM(SYSTEM_TABLE_SCHEMA) ||
'/' || TRIM(SYSTEM_TABLE_NAME) || ') MBR(' || TRIM(SYSTEM_TABLE_MEMBER) ||
')) JOB(' || TRIM(SYSTEM_TABLE_NAME) || ' ) JOBQ(QS36EVOKE)')
order by number_deleted_rows desc;