ocr: COBOL program is compiled by nvoking the DB2 COBOL Program Executable and the CA/DMS precompilers EXEC-SOL Select from CUSTOMER END-EXEC, Obtain calc CUSTOMER: DMS-DML DB2-SQL CA-IDMS DB2 FIGURE 4. Cross-database communications for IBM mainframes.