Q246714: Errors When AS/400 Network Attribute DDMACC Is Set to *REJECT
Article: Q246714
Product(s): Microsoft SNA Server
Version(s): WINDOWS:4.0 SP2,4.0 SP3
Operating System(s):
Keyword(s): kbsna400sp2 kbsna400sp3
Last Modified: 13-JUN-2001
-------------------------------------------------------------------------------
The information in this article applies to:
- Microsoft SNA Server, versions 4.0 SP2, 4.0 SP3
-------------------------------------------------------------------------------
SYMPTOMS
========
If the AS/400 Network Attribute DDMACC is set to a value of *REJECT, the
following data providers cannot connect over TCP/IP:
- Microsoft OLE DB Provider for AS/400 and VSAM
- Microsoft OLE DB Provider for DB2
- Microsoft ODBC Driver for DB2
If the AS/400 Network Attribute DDMACC is set to a value of *REJECT, testing the
connection for the data providers listed above returns the following error
messages.
For Microsoft OLE DB Provider for AS/400 and VSAM:
Test connection failed because of an error in initializing provider. User is
not authorized to use this command.
For Microsoft OLE DB Provider for DB2:
Test connection failed because of an error in initializing provider. User is
not authorized to use this command. SQLSTATE: HY000, SQLCODE: -269
For Microsoft ODBC Driver for DB2:
Connection failed [Microsoft][ODBC Driver for DB2][Microsoft DB2 OLE DB
Provider]User is not authorized to use this command. SQLSTATE: HY000,
SQLCODE: -269
CAUSE
=====
The AS/400 Network Attribute DDMACC specifies how the AS/400 handles incoming
Distributed Data Management (DDM) and Distributed Relational Database
Architecture (DRDA) requests from remote systems. If DDMACC is set to a value of
*REJECT, incoming requests from remote systems for DDM or DRDA access are
denied. If DDMACC is set to a value of *OBJAUT, incoming requests for DDM or
DRDA access are granted with proper authorization.
RESOLUTION
==========
DDMACC must be set to a value of *OBJAUT for the Microsoft data providers listed
above to be able to connect.
MORE INFORMATION
================
For more information on the DDMACC Network Attribute, please refer to the
information on the CHGNETA command in the IBM OS/400 CL Reference V4R4 (Document
Number SC41-5722-03).
Additional query words:
======================================================================
Keywords : kbsna400sp2 kbsna400sp3
Technology : kbAudDeveloper kbSNAServSearch kbSNAServ400SP2 kbSNAServ400SP3
Version : WINDOWS:4.0 SP2,4.0 SP3
=============================================================================
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.