CMINIT Returns Error 24 if Symbolic Name Not Space-Padded

Last reviewed: March 19, 1998
Article ID: Q171622

The information in this article applies to:

  • Microsoft SNA Server, versions 2.0, 2.1, 2.11, 2.11 Service Pack 1 (SP1), 2.11 SP2, and 3.0 SP1

SYMPTOMS

Calling CPIC Initialize_Conversation() (or CMINIT) may fail with error 24, or CM_PROGRAM_PARAMETER_CHECK.

CAUSE

The CPIC application must supply a sym_dest_name parameter to CMINIT. If the sym_dest_name is less than eight characters long, the CPIC interface requires the application to pad the name with spaces, or CPIC fails to match the name against the CPIC symbolic names configured in the SNA Server configuration file, causing CPIC to return CM_PROGRAM_PARAMETER_CHECK.

The CPIC Programmer's Guide does not document the requirement of providing a space-padded sym_dest_name.

RESOLUTION

To work around this problem:

  • Space-pad the sym_dest_name passed to CMINIT, if the name is less than eight characters long.

An updated CPIC DLL is also available which automatically space-pads the name to eight characters, if the application did not supply the sym_dest_name in this format.

STATUS

Microsoft has confirmed this to be a problem in SNA Server versions 2.0, 2.1, 2.11, 2.11 Service Pack 1 (SP1), 2.11 SP2, and 3.0 SP1 2.0, 2.1, 2.11 and 3.0.

This problem was corrected in the latest SNA Server version 3.0 U.S. Service Pack. For information on obtaining this Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

   S E R V P A C K

A supported fix is now available for systems running SNA Server 2.11 SP2, but has not been fully regression-tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Technical Support for more information.
Keywords          : snacpic snaprog snawin3x snawin95 snawinnt kbfix3.00.sp2 kbnetwork
Issue type        : kbbug
Solution Type     : kbfix


================================================================================


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: March 19, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.