Troubles with using PDM options in TN5250j product.
The iSphere Project for and RDi 9.5.1.3+
Brought to you by:
f_hildebrandt,
tools400
I am attempting to use the PDM option feature that opens up a LPEX editor session from the PDM options.
The option i am using is "EB CALL PGM(ISPHERE/HANDLER) PARM('EDITOR' '&L' '&F' '&N' '*BROWSE') ".
I am at RDi 9.6.x and iSphere 3.2.4r
I am opening the 5250 from the iSphere 5250 Emulator, NOT the designer session.
My job log shows these commands after running command
Is there a debugging option i can set on to see why its not working. I tried this in the past but i never followed through with 5250 embedded in RDi as i perfer ACS sessions but its more difficult to use ACS 5250 copy/paste in open dialog to review source code and i dislike 5250 source editors.
Thanks, Matt
Matt,
Unfortunately error handling in the Java code is not much sophisticated and hence there is no debug option to get more information about the problem. I think it was not that difficult to debug the Java code in order to find the problem. If you think that was an option for you, I could assist you with that. However you should already know how to checkout a project from SourceForge and how to launch an Eclipse test application.
Beside that you could launch ISPHERE/HANDLER from a non RDi 5250 session and compare the result with the image attached.
The Java code first checks for the "TN5250J-EDITOR" string at row 1, column 2 on the screen.
Then it checks the following parameters before it launches the editor:
Eventually it gets the source member to open it in RDi:
Unfortunately there nothing added to the Eclipse debug log when something goes wrong.
So please check that "library", "source file", "source member" and "mode" are properly set on the "TN5250J-EDITOR" screen and that "TN5250J-EDITOR" is at position 2.
The last option is to aad some debug statements to the Java code and create a beta version that you have to install to get additional information.
Thanks Thomas, using ACS 5250 running the EB option, "CALL PGM(ISPHERE310/HANDLER)
PARM('EDITOR' 'XXXX' 'QRPGSRC' 'XXXXXX' '*BROWSE')", the string TN5250-EDITOR starts in position 3 (note my library for the product version I am using is ISPHERE310 and has been updated with the latest version and I have changed all references Icould find to use this library). Others in our group are not yet able to upgrade to the latest version.
Thanks, Matt
Okay never mind I decided to up load the library from the latest downloaded version and now it is working. Normally, I dont update the sever library when the tool does not ask for it.
Thanks, Matt
I am happy it works now. Sorry for the mess. That obviously was my fault, when I forgot to increase the version number of the required host library.