I am trying to access a data area on a library that is in an iASP partition via a java program. I am using jt400 to create a jdbc connection to access the said data area. then getcharacterdataarea.class to basically access the data area, with the filepath parameter pointed to the iASP ('/IASP/QSYS.lib/MYLIB.lib/MyDataarea.dtaara').
I get an error that the library cannot be found, but when I do WRKOBJ on the library on the green screen using my the profile used in jt400, I'm able to see the object library. I do the same for code for a data area that is in a library in *SYSBAS, I'm able to retrieve the value of the data area. My questions please:
How do you configure QZDASOINIT prestart jobs to be able to access objects that are in an independent ASP as part of the job name space?
Is setting the jobd of the current user for the prestart job to use an iASP enough?
Do I need to restart the subsystem where QZDASOINIT is configured as a prestart job before my changes to the user profile's job description takes effect?
Do I need to define the ASPGRP as part of the SBSD itself?
Do I need to configure a different default user (instead of QUSER) for the QZDASOINIT job itself when it is started, and use a iASP enabled job description for the user profile?
I Searched the iASP redbooks but i was not able to find detailed / specific sections for configuring prestart jobs to work with objects on an iASP. Any specific reading materials you could recommend?