Calling TBACC

TBACC can be called from COBOL and PL/1. The following are examples.

From COBOL
The following is a sample of a TBACC subroutine written in COBOL.

CALL 'TBACC'      USING     TABLE-DEFINITION 
                            TABLE 
                            SEARCH-KEY 
                            ROW-WA. 
From PL/1

The following is a sample of a TBACC subroutine written in PL/1.

CALL  TBACC               (TABLE_DEFINITION,
                           TABLE,
                           SEARCH_KEY,
                           ROW_WA);