A fix is available
APAR status
Closed as program error.
Error description
CICS TS 5.3 JSON transform failing . We have an application using the LINK-able interface to transform JSON The use is EC WEB OPEN, EC WEB SEND, EC WEB RECEIVE where a JSON package is received. Then we do EC LINK PROGRAM(DFHJSON) after copying data to the correct container . This fails with message : DFHPI1007 JSON to data transformation failed because of incorrect input (UNDEFINED_ELEMENT optionType) for JSONTRANSFRM . Trace of this failing transaction shows: PI 3410 PIJP1 DATA JSON_START_ELEMENT n_mobile PI 3411 PIJP1 DATA JSON_END_ELEMENT n_mobile PI 3411 PIJP1 DATA JSON_END_ELEMENT inputParameters PI 3410 PIJP1 DATA JSON_START_ELEMENT optionType PI 3413 PIJP1 *EXC* PARSING_ERROR . The same JSON transform works fine when run in a CICS TS 5.3 JVM server.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * All CICS users. * **************************************************************** * PROBLEM DESCRIPTION: * * DFHPI1007 UNDEFINED_ELEMENT or UNEXPECTED_CONTENT using the * * native JSON parser. * **************************************************************** * RECOMMENDATION: * * . * **************************************************************** The native (non-Java) JSON parser is used to process a JSON payload sent to a web service running in CICS, or invoked via the DFHJSON linkable interface. If the JSON supplied contains one or more of the following, an error occurs and a DFHPI1007 message with an UNDEFINED_ELEMENT or UNEXPECTED_CONTENT insert is issued: - An object that may contain another object is null. - An array is null. - An array at the top level has its name in quotes. - An array is not the final object within an object. - An array is the final object when using a transformation generated using DFHJS2LS. Additional keywords: msgDFHPI1007 PI1007
Problem conclusion
DFHPIJP1 has been modified to successfully parse JSON in the scenarios described above.
Temporary fix
Comments
APAR Information
APAR number
PI68942
Reported component name
CICS TS Z/OS V5
Reported component ID
5655Y0400
Reported release
000
Status
CLOSED PER
PE
NoPE
HIPER
YesHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-09-09
Closed date
2016-12-23
Last modified date
2017-01-24
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI43554
Modules/Macros
DFHPIJP1
Fix information
Fixed component name
CICS TS Z/OS V5
Fixed component ID
5655Y0400
Applicable component levels
R000 PSY UI43554
UP16/12/29 P F612
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.3","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.3","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
24 January 2017