CPI-C Reference


Operating Environment

Figure 2 gives a more detailed view of Program A's operating environment. As in Figure 1, the bold black line shows the conversation Program A has established with its partner program. The new line between the program and CPI Communications represents Program A's use of program calls to communicate with CPI Communications. The different types of CPI Communications calls are discussed in "Program Calls".

Figure 2. Operating Environment of CPI Communications Program

Node Environment Illustration

In addition to the new line with CPI Communications, Figure 2 also shows Program A using several other generic elements:

These elements are further discussed within this chapter.

Node Services

Node services represents a number of "utility" functions within the local system environment that are available for CPI Communications and other programming interfaces. These functions are not related to the actual sending and receiving of CPI Communications data, and specific implementations differ from product to product. Node services includes the following general functions:

Side Information

As was previously discussed in "Identifying the Partner Program", CPI Communications allows a program to identify its partner program with a sym_dest_name. The sym_dest_name is provided on the Initialize_Conversation call and corresponds to a side-information entry containing destination information for the partner program. The information that needs to be specified in the side-information entry depends on the type of CRM (LU 6.2 or OSI TP) required to contact the program. Each piece of information may have associated attributes such as length and format for AP_Title and AE_Qualifier.

The possible information specific to a LU 6.2 CRM is:

The possible information specific to an OSI-TP CRM is:

In addition, the entry may contain the following information, which is not CRM-type dependent.

Programs not wanting to use side information can specify a sym_dest_name of blanks on the Initialize_Conversation call. For more information, see Initialize_Conversation (CMINIT).

On VM, if a corresponding entry is not found in the side information table, the name provided in sym_dest_name will be used as the partner TP_name.

Distributed Directory

A distributed directory is a service that enables information to be stored in a single location. It is referred to as "distributed" because the information can be accessed from multiple locations in a network using local directory interfaces. The local directory interface (part of node services) handles the communications and information flows required to retrieve the requested information from the directory. Information is stored in the directory by placing it in a directory object. Directory objects may contain many different pieces of information.

Figure 3 shows Program A interacting directly with a local directory interface. When Program A provides a name to node services ((1)), node services accesses the distributed directory ((2) and (3)). The retrieved object is then returned to the program ((4)).

Figure 3. Generic Program Interaction with a Distributed Directory

Interaction with a DD

CPI Communications Directory Object

A directory object that contains the destination information for a single installation of a partner program is referred to as a program installation object. A program installation object includes the following information:

Notes:

  1. On distributed directories supporting attribute types, the CPI Communications program binding attribute is uniquely identified with a registered ISO object identifier of 1.3.18.0.2.4.14.

    See "Program Binding" for guidelines on the specific structure and format of the PFID and program binding.

  2. On distributed directories supporting attribute types, the CPI Communications program installation object is uniquely identified as an object class with a registered ISO object identifier of 1.3.18.0.2.6.7.

Using the Distributed Directory

Figure 4 illustrates two ways that a CPI Communications program might use destination information stored in a distributed directory:

Figure 4. Program Interaction with CPI Communications and a Distributed Directory

Program Interaction

Both these examples require the program to provide a DN directly, either to node services or to CPI Communications. There are, however, several other ways a program can access information contained in the distributed directory:

Interaction with Side Information and Set Calls

CPI Communications does not attempt to integrate destination information from the distributed directory with destination information obtained from Set calls or side information. The following rules apply:

Distributed Security

Distributed security allows a user or system to be defined at a single trusted authentication server using principal names rather than user IDs. For example, a user or program accessing three different systems might require three separate sets of user IDs and passwords, one for each system. Using distributed security, a user or system could use a single principal name and password to access all three systems.

Figure 5 shows how a distributed security service works. In this example, the user has already signed on with a principal name and has been authenticated to the local security service interface. After this initial sign-on, the user is not required to provide any additional security information. When the user executes a program that requests a conversation from the CRM ((1)), the CRM communicates with the local security service interface ((2)) and retrieves the security information to be sent with the conversation startup request. The local security service communicates with the Authentication Server ((3)) to determine this information, also referred to as authentication tokens, and returns it to the CRM ((4)). The CRM then sends the security information to the partner CRM in the conversation startup request ((5)). When the partner CRM receives the conversation startup request, it accesses its local security service interface and validates the authentication tokens ((6) and (7)).

Figure 5. CRM Interaction with Distributed Security Service

CRM Interaction

Operating System

CPI Communications depends on the operating system for the normal execution and operation of the program. Activities such as linking, invoking, and compiling programs are all described in product documentation. See the product chapters, "Part 3. CPI-C 2.1 Implementation Specifics", for more specific information.


[ Top of Page | Previous Page | Next Page | Table of Contents ]