How to invoke/link to/transfer to an ADS dialog from an IDMS-DC COBOL program

Document ID : KB000020571
Last Modified Date : 14/02/2018
Show Technical Document Details


It may be desirable to invoke existing code in ADS dialogs from COBOL programs.


There is no direct way to invoke an ADS dialog from a COBOL program. However, this is possible for site who have purchased the CA IDMS SQL Option, by creating procedures based on existing ADS dialogs. This is a two-part process:

  1. The COBOL program can issue an SQL statement which specifies a procedure as a data source in the FROM clause;

  2. The procedure definition points to an underlying program which can be an ADS dialog.
    For more details on how to accomplish this, if it would meet your needs, you can see Chapter 11 of the SQL Reference manual.

Note also that there is an example in Appendix M.