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

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

book

Article ID: 20571

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction

Description:

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

Solution:

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.

Environment

Release: IDADSO00100-18.5-ADS-for CA-IDMS
Component: