I have an RPG program which uses a Rich Display file to output a subfile.
Within the page onload event, a couple of javascript intervals are set.
One of them performs a pui.click() every minute, resulting in a page refresh, the second performs an ajax call to a utility function at 14 second intervals to refresh certain pieces of information.
When the first interval fires on 60 seconds and performs the pui.click(), it clears the existing intervals as part of the onSubmit event as they'll be re-created during the page refresh.
The second interval uses an ajax call to an RPG program which uses a Universal Display File to receive its parameters.
When I run the screen, and simply leave it running, the page refreshes and the ajax calls function in the correct manner. After an arbitrary length of time, the CGI job in the PROFOUNDUI HTTP server instance which is associated with the ajax call fails with a "pointer not set for location referenced" when trying to open the Universal Display File.
Digging into the job log, I found the following severity 40 error:Pointer not set for location referenced.
Application error. MCH3601 unmonitored by UNIVERSAL at statement
0000000025, instruction X'0000'.
Error message CEE9901 appeared during OPEN for file PCKUTILSWS.
Function check. RNX1216 unmonitored by PCKUTILS at statement 0001000001,
instruction X'0000'.
Error message CEE9901 appeared during OPEN for file PCKUTILSWS (C S D F).
CPF24A3 Escape 40 22/09/15 09:18:38.198883 QMHSNDPM QSYS 0C77 QLEAWI QSYS *STMT
From user . . . . . . . . . : QTMHHTP1
To module . . . . . . . . . : QLEDEH
To procedure . . . . . . . : Q LE leDefaultEh2
Statement . . . . . . . . . : 175
Message . . . . : Value for call stack counter parameter not valid.
Cause . . . . . : The value 4, specified for call stack counter parameter,
is not valid. The value was specified in parameter number 7 on the API.
Recovery . . . : Correct the value for call stack counter parameter and
try the request again. This value must be greater than or equal to 0 but
cannot be larger than the number of entries on the call stack.
Any help in resolving this issue would be very much appreciated.
Best regards,
Mark
Also found this dump spooled file. It probably means more to you than it does to me.
User Trace Dump for job 055854/QTMHHTTP/PROFOUNDUI. Size: 300K, Wrapped 0 times.
--- 09/22/2015 09:18:38 ---
000000AB:005976 ExceptionHandler_Default(), exception occurred
000000AB:005992 F2AED40A78:0064F0 L:0007 zsrvhjob.c : Exception ID:
000000AB:005992 F2AED40A78:0064F0 C3F2D4F1 F6F0F1 *C2M1601.........*
000000AB:006008 F2AED40A78:006530 L:0030 zsrvhjob.c : Exception data:
000000AB:006024 F2AED40A78:006530 DAE77FF2 0EFFDE20 00000000 00100000 *.X"2............*
000000AB:006032 F2AED40A78:006540 FFFFFFFF 4A0D4414 00000000 0EFFDDA0 *....$...........*
000000AB:006040 F2AED40A78:006550 FFFFFFFF FE0D9310 00000000 00000002 *......l.........*
TRCTCPAPP Output