Set Up the ESDEMO Region

Takes you through the steps required to create the ESDEMO region from an existing startup file, and configure the region to use the debug-enabled ACCT application that you created.

Create the ESDEMO region

  1. Start Enterprise Server for .NET Administration. If you need instructions, see To start Enterprise Server for .NET Administration.
  2. On the tree view situated in the left pane of the Enterprise Server for .NET Administration UI, click Regions.
  3. In the Actions pane on the far right, click Define Region.

    This starts the Define Region wizard.

  4. In the Database server instance field, type localhost.

    This is the setting you specified for the Database Server Instance when you set your ACCT project properties.

  5. Click Next.

    Enterprise Server for .NET connects to the specified database server, and the wizard advances to the next page.

  6. In the Region name field, type ESDEMO.
  7. In the Service Host Name field, type localhost.

    This is the setting you specified for the Listener Host when you set your ACCT project properties.

  8. Click Next to advance to the next page of the wizard.
  9. Under Region startup file location, ensure that Local machine is selected.

    On this page of the wizard, you select a provided region startup file - Region_ESDEMO.config. This startup file automatically configures the new ESDEMO region to work with a CICS application such as ACCT.

  10. Click Browse, and navigate to the %ProgramData%\Micro Focus\Enterprise Developer\version\SEE, where version is your version of Enterprise Developer, for example, 6.0.
  11. Double-click Region_ESDEMO.config to select it, and then click Finish to create the ESDEMO region.

The ESDEMO region now appears in the tree view under Regions > CICS

Configure the ESDEMO region

Set map and program paths
  1. In the tree view, right-click the ESDEMO region, and then select Edit Region Startup File from the context menu.

    This starts the Region Editor in the center pane.

  2. In the right pane of the Region Editor, use the drop-down list that corresponds to Allow Dynamic Debugging to change its value to True.
  3. On the Region_ESDEMO.config tab on the left side of the Region Editor, expand Region > CICS > Locations.
  4. Right-click Application Map Paths, and then select Add > Folder Location from the context menu.
  5. On the Add Map File Folder Location dialog box, click Browse.
  6. Navigate to and select the bin\Debug subdirectory of your ACCT project, and then click OK.
  7. Click OK to close the Add Map File Folder Location dialog box.
  8. Add the bin\Debug subdirectory to Application Project Paths by completing the same sequence.
  9. To save your changes, click File > Save from the Region Editor menu.
Configure and start a listener
To use a TN3270 terminal emulator, such as Rumba+, with Enterprise Server for .NET, you need to configure a port on which to listen for messages from the emulator. You defined a port number for this listener, 9023, when you set your ACCT project properties. Now you need to configure that port in the ESDEMO region.
  1. In the tree view, expand Configuration Editors , and then click Listener.

    The Listener Configuration Editor shows in the center pane.

  2. On the Listener Configuration Editor menu, click File > Open.
  3. Navigate to the %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\binAnyCPU\SEE directory, and open the seelistener.exe.config file.
  4. In the Listener Configuration Editor, expand the Regions item and select the ESDEMO region.
  5. Enter localhost into the value field associated with the Database instance name property.
  6. Expand the ESDEMO region node and verify that there are three child nodes: HTTP, MFBINP, and TN3270.
  7. Select the TN3270 node and verify that the Port property value is 9023.
  8. On the Listener Configuration Editor menu, click File > Save to save the seelistener.exe.config file.
  9. Click Options > Start Listener, then click OK to clear the message box.

Start the ESDEMO region

  1. Select the ESDEMO region in the tree view, and click Start/Stop Region in the Actions pane.
  2. On the Start/Stop Region window that appears in the center pane, be sure that Cold start is selected, and then click Start.