How to Configure SNA Service TPs in the Registry

This article was previously published under Q148970
This article has been archived. It is offered "as is" and will no longer be updated.
Chapter 2 of the Microsoft SNA Server 2.0, 2.1, and 2.11 APPC and CPIC[ASCII 147]Programmer[ASCII 146]s Guide[ASCII 148] describes the configuration entries necessary todefine a transaction program (TP) to SNA Server. The first eight charactersof the TP name are configured as the Microsoft Windows NT or MicrosoftWindows 95 service key name in the registry for 32-bit Windowsapplications, in the [SnaServerAutoTPs] section in Win.ini file forMicrosoft Windows 3.x applications or SNA.INI for OS/2 applications.

However, SNA "service" TP names have two to four characters names where thefirst character starts with an EBCDIC hexadecimal number from X'00' toX'3F'. Because the names cannot be converted into a valid registry servicekey name or Win.ini or Sna.ini file entry, SNA Server maps the followingvalues onto the name to represent this first non-printable character asfollows:
0x07 - "DDM"
0x20 - "DIA"
0x21 - "SNAD"
0x24 - "FS"
0x30 - "PO"
All others are prefixed by "UN" for unknown.

For example, the AS/400 communications TP name supporting 5250 displayemulation is called X'30F0F0F5'. To define this name in the registry (forWindows NT or Windows 95 clients), in the Win.ini file (for Windows 3.xclients), or the Sna.ini file (for OS/2 clients), the TP name should beconfigured as:
where "PO" represents X'30', 'X'F0 converts to the number "0" and 'X'F5converts to the number "5".
The above information is included at the end of Chapter 2 of the SNA ServerAPPC and CPIC "Programmer's Guide", though the documentation only mentionssupport for Windows 3.x and OS/2 clients, when in fact it applies toWindows NT and Windows 95 as well.
The configuration requirements for service TPs is provided in thisarticle. This information will be included a future version of the APPC andCPIC "Programmer's Guide."
Microsoft has confirmed this to be a problem in SNA Server versions 2.0,2.1, 2.11, and 2.11 Service Pack 1. We are researching this problem andwill post new information here in the Microsoft Knowledge Base as itbecomes available.
prodsna sp1 service pack 1 8 2-4

Article ID: 148970 - Last Review: 02/28/2014 08:02:01 - Revision: 3.0

  • Microsoft SNA Server 2.0
  • Microsoft SNA Server 2.1
  • Microsoft SNA Server 3.0
  • Microsoft SNA Server 2.11 Service Pack 1
  • kbnosurvey kbarchive kbbug kbnetwork kbpending KB148970