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 Visual Studio, open the Server Explorer.

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

  2. Expand Micro Focus Servers.
  3. Right-click localhost, 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 Create New Enterprise Server dialog box appears.

  4. Type ESJCL into the Name field.
  5. Click the browse button next to the Template field, and browse to the location of the Enterprise Developer server templates, which is VSInstallDir\IDE\Extensions\nnnnnnnn.nnn\Etc\ServerTemplates by default.
  6. Select JCLTemplate.xml, and click Open.
  7. On the Associate with projects list, check JCLDEMO.
  8. Click OK.

    The Output window displays notification that the server has been created. If the Output window is not displayed, select View > Output.

  9. In the Server Explorer, expand localhost to check that the ESJCL 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 Micro Focus Servers; then click Administration.
  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.