How to debug a service program rpgle3/12/2023 ![]() ![]() This takes in 3 Strings as its arguments (address, user, password). I would like to mention I am, most definitely, not a Java programmer BUT… here is how I did it and what I learned:įirst, we must create the AS400 Object to work with. JTOpen had plenty of documentation on their subset of ServiceProgramCall() but none that I could find on returning data though an IN/OUT argument. I then attempted to switch over to calling a service program that fills out a variable passed in as an argument instead. Using their documentation, it was quick and easy to set up a program call on the system and get the return values. ![]() In order to do most of the heavy lifting we decided to use the JTOpen package. Recently, we have been working on a project to pull information from the IBM i using java.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |