Set Up the ESJCL Enterprise Server Region

Provides step-by-step instructions to create and configure a JES-enabled enterprise server region that runs JCL jobs.

Create the ESJCL enterprise server region

  1. In Eclipse, open the Server Explorer view.

    If it is hidden, display it by choosing Window > Show View > Server Explorer.

  2. Right-click Local [localhost:86], and click New > Enterprise Server.
    Tip: If you are not currently signed on to the current enterprise server, the Enterprise Server Sign On dialog box appears: click OK to sign on as the SYSAD user. (Alternatively, click Use specific server credentials, then enter a valid username and password.)

    The New Enterprise Server dialog box appears.

  3. Type ESJCL into the Name field.
  4. Click the browse button next to the Template field, and browse to the location of the Enterprise Developer server templates, which is %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\etc\ServerTemplates by default.
  5. Select JCLTemplate.xml, and click Open.
  6. On the Associate with projects list, check JCLDEMO.
  7. Click Finish.

    In the Server Explorer view, expand Local [localhost:86] to check to see that the server has been added. By using the template, the server already has the necessary options selected for MSS enablement.

Define a batch initiator SEP

The JCL template that you used to create the ESJCL enterprise server region includes a default initiator named INITALL. You need to modify INITALL for your application.

To modify INITALL to be a class B initiator that starts automatically:

  1. In the Server Explorer, right-click Local [localhost:86]; then click Open Administration Page.
  2. On the Enterprise Server Administration Home page, click Edit next to ESJCL.
  3. Select the Server, Properties, MSS, JES, and Initiators tabs.
  4. Click Edit on the row for INITALL and change the initiator as follows:
    Field Value Comment
    Name INITB Not case sensitive – gets folded to upper case
    Class B Not case sensitive – gets folded to upper case
    Description Initiator for class B job  
  5. Click OK, and then click Home to return to the Enterprise Server Administration Home page.