Walks you through the steps required to create the JCL-enabled DSNUTILS
enterprise server region.
Create the DSNUTILS
enterprise server region
- In
Visual Studio, open the
Server Explorer.
If it is hidden, display it by choosing
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 region 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.
- Expand
Micro Focus Servers.
- Right-click
Default, and click
New Enterprise Server.
The
Create New Enterprise Server dialog box appears.
- In the
Name field, type
DSNUTILS.
- Check
64-bit.
- Next to the
Template field, click
Browse and navigate 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.
- In the
Associate with projects box, check
JCL1.
- 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
Default to check that the DSNUTILS server has been added. By using the template, the server already has the necessary options selected
for MSS enablement.
Start Enterprise Server Common Web Administration (ESCWA)
Configure DSNUTILS properties
- In ESCWA, click
NATIVE.
- In the navigation pane, expand
Directory Servers > Default, and select the
DSNUTILS
enterprise server region.
- Click
GENERAL, and select
Properties from the drop-down list.
- In the
ADDITIONAL section, type the following into the
Configuration Information field:
[ES-Environment]
IDE_PROJPATH=C:\tutorials\MBDT\JCL1
- Scroll up to the
System Directory field, and type in the path to your system directory, which is
$IDE_PROJPATH\system.
- Under
REGION FEATURES, ensure that
MSS Enabled and
JES Enabled are both checked.
- Click
APPLY.
Set up XA resources
- Click
GENERAL > XA Resources.
- On the
XA RESOURCES page, click
NEW.
- Populate the fields on the
XA Resource Configuration dialog box as follows:
Field
|
Value
|
ID
|
HCOD
|
Name
|
HCODEMO
|
Module
|
esodbcxa.dll
|
Open string
|
DSN=HCODEMO,USRPASS=loginID.Password1
|
1 Use your SQL Server authentication credentials.
|
- Click
SAVE to complete the XA resources setup.
Define the dataset location
- In
ESCWA, click
JES > Configuration.
- In the
Default Allocated Dataset Location field, type
$IDE_PROJPATH\data.
- Click
APPLY.
Start the DSNUTILS
enterprise server region
- In Server Explorer, expand
.
- Right-click
DSNUTILS, and then click
Start.
Create aliases for MBDT
- In In the navigation pane, expand the
DSNUTILS
enterprise server region, and then click the arrow that appears to its right.
- Refresh the ESCWA page.
- In the right pane, click
JES > Alias to open the
ALIAS page.
- Create each alias listed in the table below, one at a time, as follows:
- Click
NEW.
- On the
NEW ALIAS dialog box, enter a program and alias pair from the table.
- Click
SAVE.
Program
|
Alias
|
HCOTEP2
|
SQLTP2
|
HCOUTILB
|
SQLUTB
|
- In the navigation pane, select the
DSNUTILS
enterprise server region, and then click the arrow that appears to its right.
Stop the DSNUTILS
enterprise server region
- In Server Explorer, expand
.
- Right-click
DSNUTILS, and then click
Stop.