CPI-C, SNA SERVICES/6000

ITEM: RTA000041078



QUESTION:                                                                       
Customer has 3 questions relative to CPI-C and SNA Services/6000                
(assume the newest version).                                                    
1. Currently he uses multiple processes (i.e. fork()  without exec ())          
in his APPC application on other UNIX systems.  These UNIX processes            
all allocate a conversation, send and receive data, and disconnect              
using the same transaction program name.  They use an independent LU            
to support all of these conversations in parallel (simultaneously) to           
a remote mainframe independent LU.  Will this CPI-C api allow him to            
build a CPI-C application in a similar manner?                                  
                                                                                
2. Will this SNA implementation support both SNA and TCP/IP over the            
same token ring LAN adapter or the same Ethernet adapter?                       
                                                                                
3. Will this SNA implementation allow a single local independent LU            
to communicate simultaneously with one or more independent LU's on              
the mainframe like OS/2?                                                        
                                                                                
This customer is a software developer (CINCOM DB).                              
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
A: 1. No, CPI-C api will not allow your customer to build an application        
      in a similar manner.  CPI-C implementation differs from APPC              
      implementation because CPI-C uses standardized procedure calls,           
      and therefore is portable to different platforms.  There are a            
      few functions, however, that are not specified (therefore not             
      supported) in CPI-C.  One of those functions is the server                
      functions as you described above, where a server is the target            
      of multiple conversations.  This is called ALLOCATE_LISTEN in             
      SNA Services/6000 V1.2.  With CPI-C, conversations have to be            
      processed sequentially.  Another function not specified with              
      CPI-C is data receive notification.  In other words, with the             
      AIX RunTime services and OS subroutines, you could use the                
      select() function call to ask SNA to tell you if data is                  
      available to be read or if no data is available within a                  
      specified timeout, an error is returned.  With CPI-C you can              
      test to see if data is available.  But if no data is available,           
      the call will return immediately.  There is no timeout parameter          
      that is user selectable.                                                  
                                                                                
   2. Yes.  Token-ring or Ethernet lan adapter will support both SNA and        
      TCP/IP concurrently.  This applies to both APPC or CPI-C                  
      implementations.                                                          
                                                                                
   3. Yes.  CPI-C will allow single local independent LU to communicate        
      with multiple independent LU's on the mainframe, concurrently.            
      However, because CPI-C does not offer ALLOCATE_LISTEN function,           
      you would need to monitor those conversations manually.                   
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
                                                                                
                                                                                
This item was created from library item Q656591      CQNJJ                      
                                                                                
Additional search words:                                                        
APR94 COMMUNICATIO CPI CQNJJ IX OZNEW RISCSNA RISCSYSTEM SERVICES               
SNA SOFTWARE 600 6000                                                           
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000041078 ITEM: RTA000041078
Dated: 11/1996 Category: RISCSNA
This HTML file was generated 99/06/24~12:43:16
Comments or suggestions? Contact us