APAR status
Closed as program error.
Error description
Example A custom setRestResponse is defined as a 404 response: if(emp is norecordfound) nfresp HttpResponse; nfresp.status = 404; nfresp.body = "Employee " + emp.empno + " Not Found"; serviceLib.setRestResponse(nfresp); else The code 200 is always returned even when the record is not found.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * EGL users implementing EGL REST services * **************************************************************** * PROBLEM DESCRIPTION: * * Custom setRestResponse code it is ignored * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
Fixed in 971
Temporary fix
Comments
APAR Information
APAR number
PH58122
Reported component name
RATL BUS DEV
Reported component ID
5724S5000
Reported release
970
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2023-11-10
Closed date
2024-06-20
Last modified date
2024-06-20
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RATL BUS DEV
Fixed component ID
5724S5000
Applicable component levels
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"970","Line of Business":{"code":"LOB70","label":"Z TPS"}}]
Document Information
Modified date:
20 June 2024