In V7R2M0, QUSRJOBI Format JOBI0400 has a few items of interest towards the bottom:

Offset to ASP group information
Number of entries in ASP group information
Length of one ASP group information entry
Job description library ASP device name
ASP group information entry

This is not new in V7R2M0 from what I can see.


Kevin Wright | IBM i Developer, LPC
I use SQLCLI APIs in my C++ stuff. My software has always connected to *LOCAL for the database. Now we have a newfangled Power8 setup with separate *SYSBASE and an iASP. Our sysadmin says there will be no customer data on *SYSBASE. We want to have as minimal code change as possible for the new hardware. He said that he can set up the user that we use for database access to default to the iASP. He has named the database on that iASP to have the same name. I know I can scour the JOBD that the user is attached to for its default ASP, but how can I get it from an actively running job? Do I even need to do this?

What we're trying to do here is avoid having to go to a 3-part naming scheme, although that isn't onerous because we have library routines that help us build our table access path. O

I thought QUSRJOBI() would give me this and it is possible I'm missing it.

Kelly Beard

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].