SNA Server DISPLAY verb may return DISPLAY_INVALID_CONSTANT

Last reviewed: April 17, 1997
Article ID: Q132718
The information in this article applies to:
  • Microsoft SNA Server for Windows NT, versions 2.0, 2.1, and 2.11

When an application calls DISPLAY API (included in the SNA Server APPC Management Verb support) that application receives DISPLAY_INVALID_CONSTANT.

The SNA Server APPC interface returns DISPLAY_INVALID_CONSTANT if you do NOT set following values.

                   NS/2     IBM EE    NS/2 format        EE format
                   format   format (Windows NT only)  (Windows NT only)
   --------------------------------------------------------------------
   init_sect_len    50         44         52                 48
   num_sections     16          9         16                  9

DISPLAY_INVALID_CONSTANT is also returned when you do not set the following values:

   reserv2 : NULL
   am_info : AP_NO
   tp_info : AP_NO
   adapter_info : AP_NO (if NS/2 format)
   ms_info : AP_NO (if NS/2 format)

Also, for the DISPLAY verb to work, a specific connection must be defined in the SNA Server Admin program Display Verb dialog box. IBM originally defined the DISPLAY verb with the IBM OS/2 Extended Edition product which assumed a single connection. However, because SNA Server supports multiple connections, the specific connection associated with the DISPLAY verb must be configured.


Additional query words: prodsna administrator
Keywords : kbnetwork kbprg ntnetserv snaappc snaprog
Version : 2.0 2.1 2.11 3.0
Platform : WINDOWS


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.

Last reviewed: April 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.