Configure the newly created
enterprise server region to support the ACCTWEB application, and start the region in preparation for running the application.
- Start
Enterprise Server Administration
-
- From Server Explorer, right-click
Micro Focus Servers; then select
Administration. This starts
Enterprise Server Administration.
Note: If a Secure Storage prompt appears, click
No.
On the Home page, you should see the ACCTWEB
enterprise server region listed.
- Define environment variables
-
- On the
Enterprise Server Administration Home page, click the
Edit button that corresponds to the ACCTWEB region.
- On the
Server, Properties, General tab, type the following into the
Configuration Information field:
[ES-Environment]
This indicates that the information that follows defines environment variables that are specific to the region. Next, you
define an environment variable to represent your project directory.
- On the next line down, type:
IDE_PROJECT_LOC=c:\tutorials\ACCTWEB
To use a defined environment variable in the value definition of another environment variable or as the value in other
Enterprise Server Administration fields, you precede the name of the variable with a dollar sign ($). You can use the IDE_PROJECT_LOC environment
variable to help define the next variable.
- On the next line down, type:
ES_DOCTEMPLATE_PATH=$IDE_PROJECT_LOC\html
This variable is used in the template definition for the DOCUMENT created in this tutorial: ACCTMP1, defined in the DFHWEB
resource group.
Note: When you create your
enterprise server region using the CICS template as you have done in this tutorial,
Enterprise Server generates and stores several environment variables based on the information in the associated project. For example, in this
region, the IDE_LOADLIB environment variable has been generated and is set to the directory you defined as the output directory
in the ACCTWEB
Enterprise Developer project. Therefore, IDE_LOADLIB is equal to the
loadlib subdirectory of your project directory, or
c:\tutorials\ACCTWEB\loadlib. The definitions for generated environment variables do not show in the
Configuration Information field, however.
- Click
Apply.
- Set the location of your resource definition file
- Earlier in this tutorial, you imported the resource definition file,
dfhdrdat, as you imported the demonstration application. Now you need to tell the ACCTWEB region where to find that file.
- On the
Server, Properties, General tab, click the
MSS and then
CICS tabs.
- In the
Resource Definition File Path field, type:
$IDE_PROJECT_LOC\system
- Click
Apply.
- Set the TN3270 listener port
- In this tutorial, you use the
Rumba+ Desktop TN3270 emulator to access the CICS application. To enable communication with your
enterprise server region, you need to set a port number where
Enterprise Server listens for TN3270 messages.
- From the
Server, Properties, General, MSS, CICS tab, click the
Listeners tab at the top of the page.
- Click the
Edit button that corresponds to
TN3270.
- In the
Endpoint Address field, replace the second asterisk (*) with
5239 so that the entry reads
*:5239.
- Click
Apply.
- To return to the
Enterprise Server Administration Home page, click
Home at the top of the menu ribbon.
- Start the ACCTWEB region
-