Step 3 – Create CICS Definition

Create CICS definitions for each tableBASE API Interface program.

Note:
When z/OS connect invokes tableBASE REST API Interface main module DK1RS001, it uses CICS transaction CSMI, so no transaction definition is required.

Only programs DK1API01 and DK1API02 need to be defined in the CSD if autoinstall (SIT:PGAIPGM=ACTIVE) is not used.

Sample definition is given in your.prefix.SRC(TBAPI).

DEFINE PROGRAM(DK1API01) GROUP(TBAPI)                           
       DESCRIPTION(tableBASE RESTConnector MAIN PGM)   
       LANGUAGE(LE370) RELOAD(NO) RESIDENT(NO) USAGE(NORMAL)      
       USELPACOPY(NO) STATUS(ENABLED) CEDF(YES) DATALOCATION(ANY) 
       EXECKEY(USER) EXECUTIONSET(FULLAPI) CONCURRENCY(THREADSAFE)
                                                                  
DEFINE PROGRAM(DK1API02) GROUP(TBAPI)                           
       DESCRIPTION(tableBASE RESTConnector PGM)        
       LANGUAGE(LE370) RELOAD(NO) RESIDENT(NO) USAGE(NORMAL)      
       USELPACOPY(NO) STATUS(ENABLED) CEDF(YES) DATALOCATION(ANY) 
       EXECKEY(USER) EXECUTIONSET(FULLAPI) CONCURRENCY(THREADSAFE)

Once the programs are defined in the CSD, make sure the group is installed with the command:

CEDA I G(group-name)