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
- Start the Server Explorer
- The
Server Explorer expandable ribbon is visible in Visual Studio on the top left side of the IDE by default when using
Enterprise Developer. However, if it is not visible:
- In Visual Studio, click
View > Server Explorer.
Attention: You might encounter an
Enterprise Server Sign On dialog box as you perform the steps required to create, configure, start, or stop an
enterprise server instance from the
Server Explorer. If you do, ensure that the
Server requires credentials,
Use specific server credentials, or
Server is secured
box is
unchecked, and then click
OK.
Also, if prompted to disable password recovery, click
No.
- Create the
enterprise server region
-
- In the
Server Explorer, expand
Micro Focus Servers.
- Right-click
localhost, and click
New Enterprise Server.
The
Create New Enterprise Server dialog box appears.
- Type
ESJCL into the
Name field.
- 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.
- Select
JCLTemplate.xml, and click
Open.
- On the
Associate with projects list, check
JCLDEMO.
Note: Until you associate the region with a project, the JES functionality within the region will not work properly.
- Click
OK.
The
Output window displays notification that the server has been created. If the
Output window is not displayed, select
.
- 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:
- In the
Server Explorer, right-click
Micro Focus Servers; then click
Administration.
This opens the
Enterprise Server Common Web Administration (ESCWA) in a browser outside of the IDE.
- In
ESCWA, in the navigation pane, click
.
- In the list of servers, in the row that contains
ESJCL, click the
(Edit) button.
This opens the
General Properties page of the server's properties.
- Click the
JES tab in the taskbar at the top of the properties pane to access the
JES Configuration settings.
- In the
Initiators section, click the
(Edit) button for the
INITALL initiator and change it 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
|
|
- Click
Save in the
JES Initiator window.
- Click
Default under
Directory Servers in the left-hand pane of the browser to return to the list of servers.