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
- In
Visual Studio, open the
Server Explorer.
If it is hidden, display it by choosing
View > Server Explorer.
- Expand
Micro Focus Servers.
- 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.
- 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.
- 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.
- On the Enterprise Server Administration
Home page, click
Edit next to
ESJCL.
- Select the
Server,
Properties,
MSS,
JES, and
Initiators tabs.
- 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
|
|
- Click
OK, and then click
Home to return to the Enterprise Server Administration
Home page.