Replace all usages of QGY.LIB APIs with their QSYS.LIB equivalents. #201
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In V5R3, the "Open List APIs" were moved from SS1 Option 12 (in library QGY) to SS1 *BASE (in library QSYS). Stub programs were left in QGY to just route any calls to them over to the new QSYS programs, so this has technically continued to work just fine. However, the wording in the V5R3 Memo to Users stated that (on page 52):
As support for connecting to V5R2 was dropped with JTOpen 6.1 (2007), it seems like we can safely do this now.
The motivation behind making this PR now was due to some internal usage of Java Toolbox, during an install of the operating system. Our internal tooling failed to complete the install because Option 12 was not installed, so the QGY library was missing. However, the base OS had installed fine, so the programs it was trying to access were technically there. It's just that the stub/router programs were missing. Since it seems odd to continue to use these router programs when we should really be using the main programs, I decided to make this PR. This has the added benefit of removing another dependency on Option 12, and instead shifting that requirement over to the base OS.
It should be noted that I was not able to run the JTOpen-test suite because its setup confused me 🙂, but I spot tested some of these changes and they worked fine. Perhaps someone with more knowledge should run the relevant tests and make sure everything still works as expected (I'm fairly certain that they should, but those are famous last words).