DB2 を使用するメインフレーム COBOL アプリケーションは、DB2 データベースと通信するための EXEC SQL 文を含む JCL バッチまたは CICS アプリケーションです。
The best way to become familiar with using Enterprise Developer to develop DB2 applications is to start with the sample HCO for DB2 LUW applications provided in the Mainframe Samples Browser. These help you to get started using HCO for DB2 LUW, including binding applications, and using JCL with static and dynamic SQL.
「追加ソフトウェア要件 (Windows)」トピックの「データベース アクセス - DB2 LUW 用 HCO」セクションをチェックして、必要なすべてのサード パーティ製ソフトウェアがインストールされて構成されていることを確認してください。
DB2 は JCL バッチおよび CICS アプリケーションに統合された基盤となるテクノロジであるため、プロジェクト情報については、「開発者向け:アプリケーションで CICS を使用する」または「Developer: My Application Uses JCL」のトピックを確認してください。それぞれのテクノロジについて、プロジェクトの作成や Enterprise Developer の使用に関する具体的な情報を確認できます。
DB2 アプリケーションとデータの移動には、コードとデータをメインフレームから PC に移動するために IBM が提供しているツールを使用すれば十分です。ダウンロードした後、1 つ以上の Visual Studio プロジェクトを作成してから、ダウンロードしたアプリケーション ソースを追加します。これは、DB2 アプリケーションを保守、作成、拡張する Visual Studio プロジェクト内にあります。
Enterprise Developer provides a set of tools that enable you to create DB2 databases on the PC, process SQL DDL statements, generate copybooks for tables, export and import data in a variety of formats, and bind or rebind packages.
You can compile your DB2 applications from your Visual Studio project, or from the command line using the DB2 ECM preprocessor and by setting appropriate compiler directive options.
Enterprise Developer also provides tooling that enables you to migrate DB2 to SQL Server. For details, see HCO for SQL Server (HCOSS).