Issues with YAJL after OS upgrade to 7.4

Discussions relating to writing software in ILE RPG (RPG IV). This includes both fixed and free format RPG.
Post Reply
jeff.dunasky
Posts: 1
Joined: Sun Dec 03, 2023 11:37 pm

Issues with YAJL after OS upgrade to 7.4

Post by jeff.dunasky »

We are using YAJL to parse json data, and since we upgraded our OS to 7.4, we are having issues.
We have an HTTP server with CGI calling an RPG program using YAJL, and since the upgrade we have been having issues.
We see these errors in the HTTP error logs:
[Sun Dec 03 18:31:12.633032 2023] [core:error] [pid 3263:tid 00000148] [client 192.168.100.93:22367] ZSRV_MSG0947: End of script output before headers: File name is giftcardr.pgm
[Sun Dec 03 18:31:13.149680 2023] [cgi:error] [pid 3263:tid 00000148] [client 192.168.100.93:52878] AH01215: CGI PROGRAM /QSYS.LIB/BUCKEYE.LIB/GIFTCARDR.PGM RETURNED EXCEPTION ID MCH3401: /qsys.lib/buckeye.lib/giftcardr.pgm
[Sun Dec 03 18:31:13.255352 2023] [cgi:error] [pid 3263:tid 00000148] [client 192.168.100.93:52878] AH01215: SEE JOBLOG FOR JOB 439213/QTMHHTTP /GCSERVER : /qsys.lib/buckeye.lib/giftcardr.pgm
[Sun Dec 03 18:31:13.368584 2023] [core:error] [pid 3263:tid 00000148] [client 192.168.100.93:52878] ZSRV_MSG0947: End of script output before headers: File name is giftcardr.pgm
[Sun Dec 03 18:31:13.853072 2023] [cgi:error] [pid 3263:tid 00000148] [client 192.168.100.93:46853] AH01215: CGI PROGRAM /QSYS.LIB/BUCKEYE.LIB/GIFTCARDR.PGM RETURNED EXCEPTION ID MCH3401: /qsys.lib/buckeye.lib/giftcardr.pgm
[Sun Dec 03 18:31:13.986712 2023] [cgi:error] [pid 3263:tid 00000148] [client 192.168.100.93:46853] AH01215: SEE JOBLOG FOR JOB 439214/QTMHHTTP /GCSERVER : /qsys.lib/buckeye.lib/giftcardr.pgm
[Sun Dec 03 18:31:14.088496 2023] [core:error] [pid 3263:tid 00000148] [client 192.168.100.93:46853] ZSRV_MSG0947: End of script output before headers: File name is giftcardr.pgm
[Sun Dec 03 18:31:22.395160 2023] [cgi:error] [pid 3263:tid 00000148] [client 192.168.100.93:33681] AH01215: CGI PROGRAM /QSYS.LIB/BUCKEYE.LIB/GIFTCARDR.PGM RETURNED EXCEPTION ID MCH3401: /qsys.lib/buckeye.lib/giftcardr.pgm
[Sun Dec 03 18:31:22.507560 2023] [cgi:error] [pid 3263:tid 00000148] [client 192.168.100.93:33681] AH01215: SEE JOBLOG FOR JOB 439218/QTMHHTTP /GCSERVER : /qsys.lib/buckeye.lib/giftcardr.pgm
[Sun Dec 03 18:31:22.632504 2023] [core:error] [pid 3263:tid 00000148] [client 192.168.100.93:33681] ZSRV_MSG0947: End of script output before headers: File name is giftcardr.pgm

and in the job logs referenced in the errors above, we see this:
MCH3401 Escape 40 12/03/23 18:31:22.394936 < lveContext 00039C QZSRCGI QHTTPSVR *STMT
From user . . . . . . . . . : QTMHHTP1
From Program . . . . . . . : MnResolveContext
To module . . . . . . . . . : ZSRVCGI
To procedure . . . . . . . : BigSwitch
Statement . . . . . . . . . : 3
Message . . . . : Cannot resolve to object YAJLR4. Type and Subtype X'0203'
Authority X'0000'.
Cause . . . . . : Either a system pointer or a data pointer can not be
resolved. For a system pointer, it can not be resolved to object YAJLR4,
type and subtype X'0203', authorization X'0000', because either the named
object was not in any context referred to or the correct object was located
but the user profile did not have the required authority. The object types
for some common type or subtype codes follow: -- 0190-Access group,
0201-Program, 0401-Library, -- 0701-Journal receiver, 0801-User profile,
0901-Journal, -- 0B90-Data space, 0C01-Directory, 0C90-Data space index, --
0E01-Job queue, 0E02-Output queue, 0E03-Message file, -- 0E0A-User index,
Scott Klement
Site Admin
Posts: 658
Joined: Sun Jul 04, 2021 5:12 am

Re: Issues with YAJL after OS upgrade to 7.4

Post by Scott Klement »

Cannot resolve to object YAJLR4. Type and Subtype X'0203' Authority X'0000'.
This message ("cannot resolve to object") means that an object can't be found on disk. In this case, the object is YAJLR4, but this could potentially occur with any disk object.

Did you forget to add the library that contains YAJLR4 to your library list?
Post Reply