A fix is available
APAR status
Closed as program error.
Error description
UNLOAD TABLESPACE DB.TS FROMVOLUME volumename DELIMITED CHARDEL '"' COLDEL X'4F' DECPT ' .' PUNCHDDN SYSPUNCH UNLDDN SYSREC EBCDIC . syntax fails to use FROMCOPY in this instance
Local fix
use EXAMPLE 1 --------------- UNLOAD TABLESPACE DB.TS FROMCOPY MYCOPY.FCOPY1.STEP1.FCOPY1 PUNCHDDN SYSPUNCH UNLDDN SYSREC . EXAMPLE 2 ---------------- //SYSUNLD DD DSN=DB2DUMP.PM55993.D080416.T144035.DSN1COPY,DISP=SHR //SYSIN DD * UNLOAD TABLESPACE DB.TS FROMCOPYDDN SYSUNLD FROM TABLE MY.TABLE ........
Problem summary
**************************************************************** * USERS AFFECTED: All Db2 11 for z/OS and Db2 12 for z/OS * * users of the UNLOAD utility specifying * * FROMVOLUME. * **************************************************************** * PROBLEM DESCRIPTION: ABENDS0C4 DSNUULDB OFFSET1596 during an * * UNLOAD utility specifying FROMVOLUME * * without specifying FROMCOPY * **************************************************************** * RECOMMENDATION: Apply corrective PTF when available. * **************************************************************** UNLOAD TABLESPACE db.ts FROMVOLUME was run without specifying the FROMCOPY keyword. The utility abended with an ABEND0C4 +x'1596'. The utility statement was coded as follows: UNLOAD TABLESPACE db.ts FROMVOLUME volname PUNCHDDN SYSPUNCH UNLDDN SYSREC EBCDIC The Db2 Utilities parser does not check for the missing FROMCOPY keyword that is required whenever the FROMVOLUME keyword is specified, and interprets the FROMVOLUME keyword incorrectly. This results in the utility abending. Instead, the parser should return an error message DSNU071I - KEYWORD 'FROMVOLUME' REQUIRES KEYWORD 'FROMCOPY' and end with RC8.
Problem conclusion
UNLOAD code has been modified to issue MSGDSNU071I if the FROMVOLUME keyword is specified without the FROMCOPY keyword.
Temporary fix
Comments
APAR Information
APAR number
PH14586
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-07-17
Closed date
2019-08-28
Last modified date
2019-10-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI65012 UI65015
Modules/Macros
DSNUGDDS
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
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":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","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":"11.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
01 October 2019