If you used JSON web services in earlier releases, be aware
of the following changes when you upgrade to CICS® Transaction Server for z/OS®, Version 5 Release 2.
In previous releases support for JSON web services was provided
by CICS TS Feature Pack for
Mobile Extensions. In CICS TS
5.2 this function is incorporated into CICS,
therefore there is no longer a requirement to install the feature
pack.
JSON web services are enhanced to provide additional
data mapping.
CICS now
provides data mapping to support COBOL OCCURS DEPENDING ON and OCCURS
INDEXED BY clauses.
- The OCCURS DEPENDING ON clause is supported at a mapping level
of 4.0 or higher. Complex OCCURS DEPENDING ON is not supported. This
limitation means that OCCURS DEPENDING ON is only supported for the
last field of a structure.
- The OCCURS INDEXED BY clause is supported at any mapping level.
CICS now
provides support for transforming application data encoded in UTF-16
at a mapping level of 4.0 or higher.
- You can enable this behavior by using language-specific data types
for UTF-16 when you use the DFHLS2JS, DFHLS2SC, or DFHLS2WS assistants.
- You can enable this behavior by setting CCSID=1200 when you use
the DFHJS2LS, DFHSC2LS, or DFHWS2LS assistants.