A fix is available
APAR status
Closed as program error.
Error description
The DB2 Administration Tool for z/OS' Batch Restart program ADBTEP2 issues a misleading message when a CONNECT statement is processed and fails: ADB5146E Unexpected SQLCODE in :CONNECT RESET The message should not state RESET and should echo the SQLCODE. The Batch Restart program does not support the DB2 for z/OS syntax: CONNECT TO location-name authorization
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Administration Tool * * for z/OS who use the Batch Restart * * program ADBTEP2 to run the CONNECT * * statement. * **************************************************************** * PROBLEM DESCRIPTION: The Batch Restart program ADBTEP2 * * issues a misleading message when a * * CONNECT TO statement is processed * * and fails with an ADB5146E / * * msgadb5146e error message: * * * * ADB5146E Unexpected SQLCODE * * in :CONNECT RESET * * * * The message should not state * * RESET and should echo the * * SQLCODE. The Batch Restart * * program ADBTEP2 does not support * * the CONNECT statement with the * * authorization option syntax seen * * below: * * * * CONNECT TO >location-name< * * USER >user-name< USING * * >password< * * * * CONNECT USER >user-name< * * USING >password< * **************************************************************** * RECOMMENDATION: * **************************************************************** The Batch Restart program ADBTEP2 issues a misleading message when a CONNECT TO statement is processed and fails with an ADB5146E / msgadb5146e error message: ADB5146E Unexpected SQLCODE in :CONNECT RESET
Problem conclusion
The Batch Restart program ADBTEP2 has been modified to support the CONNECT statement with the authorization option and issue the correct messages and SQLCODE when the CONNECT statement fails.
Temporary fix
Comments
APAR Information
APAR number
PI39492
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
A20
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-04-20
Closed date
2015-08-27
Last modified date
2015-09-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI30627 UI30628
Modules/Macros
ADBTEP2 ADB5000
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
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":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 September 2015