CICS ON AIX

ITEM: RTA000051975



                                                                                
                                                                                
                                                                                
QUESTION:                                                                       
1. Can I make a call to CICS using C today on an AIX box?                       
   Example: C program written the C compiler, using the                         
   the risc version of CICS?How about the next version?                         
                                                                                
2. Can I call stored procedures from DB6000 Today? Next release?                
  If I can call stored procedures with either, can the stored                   
  procedures invoke COBOL, C?                                                   
3. If 2 is possible, Can I then invoke EXEC CICS calls from                     
  COBOL? C?                                                                     
PS: Reference to good manuals is appreciated.                                   
                                                                               
---------- ---------- ---------- --------- ---------- ----------                
A:  1. Currently the only supported way to interact with                        
       CICS/6000 from outside a CICS program is via the External                
       Presentation Interface.                                                  
                                                                                
       The EPI is an API which allows non-CICS application                      
       programs to appear to the CICS system as one or more                     
       standard 3270 terminals. The non-CICS application may start              
       CICS transactions and send and receive standard 3270 data                
       streams to those transactions.                                           
                                                                                
       The EPI API consists of the following functions:                         
           CICS_EpiAddTerminal                                                  
           CICS_EpiATIState                                                     
           CICS_EpiDelTerminal                                                 
           CICS_EpiGetEvent                                                     
           CICS_EpiGetSysError                                                  
           CICS_EpiInitialize                                                   
           CICS_EpiListSystems                                                  
           CICS_EpiReply                                                        
           CICS_EpiSenseCode                                                    
           CICS_EpiStartTran                                                    
           CICS_EpiTerminate.                                                   
                                                                                
       EPI programming is described in the CICS/6000 application                
       programming guide, SC33-0814-00.                                         
                                                                                
       There has been a statement of direction that CICS/6000                   
       will support the common client. This will support an                     
       External Call Interface allowing non-CICS applications to               
       run CICS programs.                                                       
                                                                                
       A prototype of the ECI for CICS/6000 is available from                   
       the TXPPACS tools disk in Hursley:                                       
         EXEC TOOLS SENDTO WINVMB TOOLS TXPPACS GET CD62 PACKAGE                
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
A:  DB2/6000: please answer questions 2 and 3 concerning stored                 
    procedures in DB2/6000.                                                     
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
A: Yes, you can call stored procedures from DB2/6000 now.   Stored              
procedures, also know as DARI (Database Application Remote Interface),          
reside at the server.   The DARI procedure is invoked by a client call.         
                                                                               
The DARI procedure will access the database, complete its designated            
processing, and return a completion code or small result set to the             
client.   A client application that invokes a stored procedure can              
minimize the network communication between the client and the server.           
                                                                                
The stored procedure acts as a local application to the database manager        
where the "target" data resides.   In addition to reduced network               
communication, an application may benefit by using DARI procedures to           
perform functions that are only available at the server.   For example,         
the FORCE USER API is available on servers, but is not available on             
clients.   If such a function is desired from the client side, a DARI           
procedure could be utilized.                                                    
                                                                                
DARI usage includes the capability to write code in C, COBOL and FORTRAN.       
You can write client applications in any supported language.   The             
following advanced programming techniques are required:  address                
manipulation, dynamic memory allocation and understanding SQLDA.                
                                                                                
For more details regarding the coding and use of DARI procedures,               
investigate education in application programming or consult the                 
DATABASE 2 AIX/6000 Programming Guide, Publication Number SC09-1572-00.         
Especially see pages 125 - 171, Chapter 6, "Stored Procedures and               
Record Blocking".   Call 1-800-426-8322, Extension 330 for a list of            
the DB2 classes and schedules.                                                  
                                                                                
If the third question regarding invoking EXEC CICS was not answered             
by the CICS 6000 response above, please let me know and I will forward          
it to them.                                                                     
                                                                                
---------- ---------- ---------- --------- ---------- ----------               
                                                                                
                                                                                
This item was created from library item Q675570      FFBSP                      
                                                                                
Additional search words:                                                        
AIX ALTERNATE CICS DB2 FFBSP INDEX IX JAN95 OZNEW RISCDB2 RISCSYSTEM            
SOFTWARE 6000                                                                   
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000051975 ITEM: RTA000051975
Dated: 01/1995 Category: RISCDB2
This HTML file was generated 99/06/24~12:43:20
Comments or suggestions? Contact us