The CA 7 CCI Terminal Interface and basic execution of the batch program CAL2X2WB.
search cancel

The CA 7 CCI Terminal Interface and basic execution of the batch program CAL2X2WB.

book

Article ID: 26872

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

What setup needs to be done for the CA 7 CCI Terminal Interface and basic execution of the batch program CAL2X2WB?

 

Environment

Release:
Component: 7

Resolution

To initialize the CA 7 CCI Terminal Interface, you must add at least one CCI terminal definition to the CA 7 init deck. The following is an example of the CCI terminal definition which consists of the statements (GROUP, LINE, TERM and STATIONS):

    GROUP,NAME=CCIGRP,DEVICE=CCI,LNAME=CCILN 
    LINE,NAME=CCILN,BUFSIZE=3120,TNAME=CCIT1 
    TERM,NAME=CCIT1,DEVICE=CCI,NLINE=60,LINLEN=137,CONS=ALTRN 
    STATIONS,TRMID=CCIT1,STANIDS=(CCI1) 

At startup of CA 7 it recognizes the CCI terminal definition and this causes the CCI Terminal interface to initialize. You will see the following messages in the CA 7 log:

    CA-7.XTM0 - SASSXTM0 initialization in progress 
    CA-7.XTM0 - SASSXTM0 initialization complete 
    CA-7.XTM0 - CCI Interface initialized. 
    CA-7.XTM0 - CTI Receiver is: #CCIREC1 .CA-7 XTM CA71 
    CAL2C900I - CA-7 CCI Initialization Complete 

The following JCL can be used to execute the CA 7 CAICCI batch interface:

    //jobname JOB (user job parms) 
    //JS1 EXEC PGM=CAL2X2WB,PARM='CCIREC1,CA71' 
    //STEPLIB DD DISP=SHR,DSN=cai.ca7.loadlib 
    //SYSPRINT DD SYSOUT=_ 
    //ERRORS DD SYSOUT=_ 
    //SYSIN DD _ 
    ..... 
    (CA 7 commands go here) 
    ..... 
    // 

The CA 7 command input is in Batch Terminal Interface format.

The PARM info provided on the execute statement is positional and is optional. The first position is CCI NODE where CA 7 runs and the second position is the CA 7 CCI Receiver name. Both can be found in the startup message:

    CA-7.XTM0 - CTI Receiver is: #CCIREC1 .CA-7 XTM CA71 

Note: Most clients run in a multiple LPAR environment and batch jobs run on different LPARs. If this is the case, each LPAR must be connected via CCI to the LPAR where CA 7 resides. Please see the CCS (CA Common Services) documentation for connecting LPARs.

For more information on the CCI Terminal Interface, see the CA 7 Interfaces Reference Guide Chapter 3, Interface with CAICCI.