A fix is available
APAR status
Closed as program error.
Error description
Using HPU UNLOAD following a BMC Unload plus the syntax in the HPU output contains a leading zero UNLOAD DIRECT NO FORMAT EXTERNAL SELECT DECIMAL (0.3, 5,3) FROM SYSIBM.SYSDUMMY1 WITH UR The generated output is: 0.300 PB 10225 "U+:DECIMAL EXTERNAL - unexpected leading zero"
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 High Performance Unload. * **************************************************************** * PROBLEM DESCRIPTION: 1. Using UNLOAD PLUS syntax, a DECIMAL * * EXTERNAL should not have leading * * zeroes. Example, for value 0.1234, HPU * * currently generates "0.1234" while the * * expected value is ".1234" * * This applies to the following format * * of the UNLOAD PLUS syntax: * * - FORMAT EXTERNAL * * - FORMAT CSV * * - Any format when INTO COL DECIMAL * * EXTERNAL(p,s) is specified. * * PB 10225 * * 2. When unloading a numeric column * * into a FLOAT EXTERNAL format with * * specification of an explicit length, * * the unloaded data is truncated and is * * unusable. * * Example: * * Initial value: 1.5625000000000009E+48 * * FLOAT EXTERNAL(20) --> * * 5625000000000009E+48 * * FLOAT EXTERNAL(10) --> 000009E+48 * * Depending on the data type of the * * original selected column or expression, * * and on the output length, the output * * data can be either truncated from an * * original external representation on 24 * * bytes or on 14 bytes. * * PB 10311 * **************************************************************** * RECOMMENDATION: APPLY the PTF. * **************************************************************** 1. Module inzctrlp was changed to use a different picture for editing numeric external data. 2. Module udbcrfel was changed to be able to format FLOAT EXTERNAL data using a valid representation of the initial numeric value on a length shorter than the maximum length without truncating the output string.
Problem conclusion
APPLY the PTF.
Temporary fix
Comments
APAR Information
APAR number
PK93933
Reported component name
DB2 HI PERF UNL
Reported component ID
5697F4400
Reported release
310
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-08-14
Closed date
2009-12-16
Last modified date
2010-01-05
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK52949 UK52950
Modules/Macros
INZUTILK
Fix information
Fixed component name
DB2 HI PERF UNL
Fixed component ID
5697F4400
Applicable component levels
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":"SSAUUV","label":"IBM Db2 High Performance Unload for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"310","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
05 January 2010