× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi

I have a pretty simple SQLRPGLE program that reads a JSON file from IFS with IFS_READ_UTF8 and then parses the header and lines from that file with JSON_TABLE.

While debugging I run into the following:
Everytime I start debugging or refresh the SEP the debugger terminates when I first hit the JSON_TABLE function with this message:

Platform: IBM i *UNKNOWN* Connection: PTHS02:3825 Error: (998) CRRDG3002E Connection with the debug engine was lost.  

The program call (from 5250) ends normally and there's nothing weird popping up in my joblog. From the messages in the joblog it even appears that the program ran flawless into an end.

If I call the program a second time I can run through all the statements in the debugger just fine. If I refresh the SEP, it breaks.

I took me quite some time to find out that this was a debugger problem and not a programming problem, so I was wondering if anyone has run into something similar or has a solution to prevent this from happening

TIA

Kind regards, Met vriendelijke groet,

Martijn van Breden
lead software architect



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.