Debug or Run the Program

Describes how to debug or run a program that calls the Public Catalog API.

Debug or Run a Program in Enterprise Server

To make any updates to the catalog, you must run your program in Enterprise Server.

From your Enterprise Developer Project

  1. In Enterprise Developer, create a program using either the Enterprise Server Application template, or the Mainframe Subsystem Application template.
  2. In the Enterprise Developer project, create and build a program that accesses the catalog.
  3. In Enterprise Server, create an enterprise server instance to run your program.
  4. Associate your enterprise server instance with your Enterprise Developer project.
  5. Debug or run the program in Enterprise Developer.

From Enterprise Server

  • In Enterprise Developer, create a project using any appropriate project template.
  • In the Enterprise Developer project, create and build a program that accesses the catalog.
  • Write JCL to execute the program.
  • In Enterprise Server, create an enterprise server instance to run your program.
  • In Enterprise Server, execute the JCL.

Debug or Run a Program Outside of Enterprise Server

If your program does not update the catalog and was not created with the Enterprise Server Application or the Mainframe Subsystem Application template, simply create and build the program in Enterprise Developer, and then execute or debug it from the project, or from an Enterprise Developer command prompt.