A fix is available
APAR status
Closed as new function.
Error description
New additional XPath function (Phase 1) (dk308)
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: DB2 R910 users who use XML * **************************************************************** * PROBLEM DESCRIPTION: PRECONDITIONING APAR to support * * 13 more XPath functions: * * fn:name, fn:local-name, * * fn:max, fn:min, fn:distinct-values, * * fn:upper-case, fn:lower-case, * * fn:translate, fn:last, fn:position, * * fn:matches, fn:replace, fn:tokenize. * * * **************************************************************** * RECOMMENDATION: * **************************************************************** PK55585 and PK55831 introduce 13 more XPath functions: fn:name, fn:local-name, fn:max,fn:min,fn:distinct-values,fn:upper-case,fn:lower-case, fn:translate,fn:last,fn:position,fn:matches,fn:replace, fn:tokenize. The changes are documented in the latest version of the XML Guide (SC18-9858-03). PK55585 is the preconditioning APAR. Example 1: fn:tokenize breaks /a into a sequence of strings, treating any substring that matches (ab) or (a) as a separator. The separators are not returned. The answer of this example is r c d r SELECT XMLSERIALIZE( XMLQUERY('fn:tokenize(/a, "(ab) | (a)", "x")' PASSING XMLPARSE(DOCUMENT '<a>abracadabra</a>')) AS CLOB(20)) FROM SYSIBM.SYSDUMMYU; Example 2: fn:position returns the first position of /a/b. The answer of this example is <b>1</b>. SELECT XMLSERIALIZE( XMLQUERY('/a/b fn:position()=1 ' PASSING XMLPARSE('<a><b>1</b><b>2</b><b>3</b></a>')) AS CLOB(20)) FROM SYSIBM.SYSDUMMYU;
Problem conclusion
Temporary fix
********* * HIPER * *********
Comments
PK55585 is the preconditioning APAR and PK55831 is the enabling APAR for the 13 new XPath functions. PK55585 should be applied before PK55831.
APAR Information
APAR number
PK55585
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
910
Status
CLOSED UR1
PE
NoPE
HIPER
YesHIPER
Special Attention
NoSpecatt
Submitted date
2007-10-29
Closed date
2008-02-12
Last modified date
2008-03-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK33650
Modules/Macros
DSNNKGEN DSNNLEPL DSNNOBND DSNNQFLR DSNNQLIB DSNNQOP DSNNQSCN DSNNTRY DSNNXEE DSNTIAM DSNTIA1 DSNXEMG1 DSNXESQL DSNXQFN DSNXQFTB DSNXQND DSNXRL2 DSNXSRC DSNX5TRV DSNX5XEE DSNX5XPD DSNX5XQN DSNX5XSD
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
R910 PSY UK33650
UP08/02/28 P F802
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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"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":"9.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
03 March 2008