Not quite what was asked....but interesting none the less.
This works, at least in interactive SQL. (v7.1 and TR7)
> connect to REMOTESYS (as defined in WRKRDBDIRE)
> SELECT * FROM TABLE(QSYS2/GET_JOB_INFO('000000/QSYS/SCPF')) A
need to know exact job,user,number
must be on V7.1 and TR7
TR8 allows for "*" job name
Other than that I used Scotts UDF presentation recently. very good.
should be able to use idea for QUSLJOB api to look for a specific job name.
Local or remote should not matter.
Stone, Joel said the following on Wed, 4/30/2014 4:21 PM:
Can you please point me in the right direction for creating and calling a stored procedure on a remote iseries?