×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




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


Drawbacks:
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.
http://www.scottklement.com/presentations/RPG%20User%20Defined%20Functions%20%26%20Table%20Functions.pdf

should be able to use idea for QUSLJOB api to look for a specific job name.

Local or remote should not matter.


--
Bryan

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?

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-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.