To use a debug service execution process for Enterprise Server debugging

  1. Start the enterprise server under your own user id. The simplest way to do this is by using the casstart command. For example,
    casstart /rESDEMO

    Note: The /r option specifies the enterprise server that you want to start.

  2. Start a debug service execution process (SEP) on the server by using the cassi command with the /a option. For example,
    cassi /a /rESDEMO

    If you want to debug a JCL application, you must also use the /b option to specify the job classes that the debug SEP will be able to run. For example, cassi /a /bABC /rESDEMO where ABC is the list of classes.

    The debug SEP starts an associated Net Express debugging session.

  3. If you have not already done so, deploy the service or application to the server.

    To deploy a service interface using the Deploy tool

    Note: Please make sure to include the .idy files for the application in the set of files that you deploy.

  4. If your program is a service (Web Service or J2EE), as opposed to a CICS or JCL application, you will need to create a client program to submit requests for that service.

    To generate a COBOL client from a Web service interface

  5. Start the service or application on your enterprise server. How you do this depends on what type of application it is.

    For example:

    When the service or application starts, the enterprise server will attach your Net Express debugging session to it.
  6. You can now step through the deployed service in the usual manner.

Notes:

Related Topics: