Invoke an ADS dialog from DC COBOL using an SQL procedure
search cancel

Invoke an ADS dialog from DC COBOL using an SQL procedure

book

Article ID: 20571

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction

There is no direct way to invoke an ADS dialog from a COBOL program. However, this is possible using the IDMS SQL Option.

Environment

Release: All supported releases.
Component: ADS, SQL.

Resolution

Create an SQL procedure 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, see Defining and Using Procedures.

Additional Information