Overview
In this tutorial, you create an enterprise server with the Mainframe Subsystem Support (MSS), configure it for the ACCT application, and run the application under Enterprise Server/MSS.
Create an Enterprise Server
Server Enterprise Edition comes with a pre-configured enterprise server named ESDEMO. However, it is not configured for Mainframe Subsystem Support (MSS). Therefore, you must create a new enterprise server instance configured for MSS for the CICS application.
- Open the Server Explorer window in the IDE.
If it is hidden, click
View > Server Explorer.
- In Server Explorer, right-click
Micro Focus Servers and choose
Administration from the context menu.
This opens the home page of Enterprise Server Administration (also called MFDS) in the IDE.
Alternatively, you can open the Enterprise Server Administration from the Start menu - click
Start > All Programs > Micro Focus Studio Enterprise Edition x.x > Configuration > Enterprise Server Administration. This opens Enterprise Server Administration in a browser outside of the IDE.
- Click
Add.
- In the
Server Name field, type
ACCT and click
Next.
- Choose
32-bit for the
Working mode option.
- Click
Next.
- In the
Server Type group, select
Micro Focus Enterprise Server with Mainframe Subsystem Support.
- Click
Next.
- In the
Creation Options group, enter
5239 in the
Using port field. This will be the port number to be used to customize the 3270 emulator.
- In the
Description field, type a description of the new Enterprise Server, for example
ACCT demo.
- Click
Add.
This displays the Enterprise Server Administration home page with your new ACCT server in the list of the available enterprise servers.
Configure the Enterprise Server
Now that you have created an enterprise server instance for our CICS application, you need to configure the Mainframe Subsystem Support that drives CICS applications. The ACCT application is already compiled, so configuration is minimal.
- On the Enterprise Server Administration home page, click the
Edit button that corresponds to the ACCT enterprise server.
- Click the
General tab.
- Type the following in the
Configuration Information
text box:
[ES-Environment]
ESPROJ=c:\tutorials\ACCT
You are going to reuse this environment variable to configure your enterprise server further.
- Click
Apply.
- Click the
MSS tab.
- Ensure that
Mainframe Subsystem Support enabled is checked.
- Enter the following details in the fields on the
CICS tab:
System Initialization Table
|
DEMOSIT
|
Transaction Path
|
$ESPROJ\loadlib
|
File Path
|
$ESPROJ\data
|
Map Path
|
$ESPROJ\loadlib
|
Resource Definition File Path
|
$ESPROJ\system
|
- Click
Apply.
- On the list at the left of the page, click
Home to return to the Enterprise Server Administration Home page.
Create and Upgrade the CICS Resource Definition File
- Open
the
Net Express command prompt by choosing
Start > Programs > Micro Focus Studio Enterprise Edition > Compatibility Tools > Net Express 32-bit Command Prompt.
- Create a CICS resource definition file using following command:
caspcrd /c /dp=c:\tutorials\acct\system
- Upgrade the resource definition file by running the following command:
caspcupg /dp=c:\tutorials\acct\system
Start the ACCT Enterprise Server
You need to start the enterprise server instance that you have created and configured.
- Ensure ESDEMO and any other servers that use the TN3270 port are not running. If any of them is running, stop it before starting the ACCT server.
This is because they use the same port the ACCT server uses for one of their listeners.
- In Server Explorer, right-click
ACCT in the list of servers and then click
Start.