Tutorial: Mainframe Batch Database Tools (MBDT)

Takes you step by step through the process of migrating a mainframe-based DB2 table on the mainframe to a local SQL Server using Mainframe Batch Database Tools (MBDT).

Assumptions

This tutorial is written from the perspective that all of the following items are true. Specific instructions for setting up your environment to adhere to these assumptions is found in the Before you begin section that follows:

  • Windows File Explorer is set to show file names and extensions.
  • Windows User Account Control (UAC) is turned off.
  • You are running the latest version of Enterprise Developer.
  • For mainframe connectivity, you have a TN3270 terminal emulator installed, which is configured to connect to your mainframe.
    Note: This tutorial uses Rumba+ Desktop as the terminal emulator, but you may adapt the tutorial to suit your terminal emulator of choice.
  • You have installed and can access a supported version of Microsoft SQL Server.
  • Enterprise Developer for Eclipse is started on your local machine using the default work area, and the appropriate Perspective and View are open..
  • Eclipse options are set to build projects automatically.
  • You have addressed all of the items in the Before you begin section below.

Before you begin

Before beginning, be sure you have addressed each of the following items:

Enterprise Server Security
In this release, the Enterprise Server security features are enabled by default. Tutorials that use enterprise server regions, however, assume that Enterprise Server security is not configured. To work though this tutorial unchanged, you need to disable any configured Enterprise Server security. See To Disable the Default Enterprise Server Security Configuration for details.
Important: Micro Focus does not recommend disabling the security permanently. Re-enable it as soon as possible after completing tutorials. See To Recreate the Default Enterprise Server Security Configuration. For more information, see also After Installing > Enterprise Server Security Considerations.
Set Windows File Explorer options
These tutorials assume that your Windows File Explorer options are set to use the Details layout, and to show file name extensions. See your Windows documentation for more information.
Turn off Windows User Account Control (UAC)
Depending on the Windows UAC setting on your machine, HCOSS exhibits different behavior for some features. The differences in behavior are dependent on things such as whether or not you are logged in as a standard user or an administrator, whether or not you are a member of the Windows Administrators group, and how you start the HCOSS user interface. These tutorials assume that you have turned UAC off by setting it to Never notify. See your Windows documentation for details.
Start Enterprise Developer
Start Enterprise Developer using the default workspace, which is %USERPROFILE%\eclipse-workspace. If you need instructions to get Enterprise Developer started on your local machine, see To start Enterprise Developer.
Note: If Visual Studio prompts you on startup to select an initial action, click Continue without code.
Open the Team Developer Perspective and Application Explorer View in Eclipse
When you start Enterprise Developer for the first time, the Team Developer perspective starts automatically by default, and shows the Application Explorer view. If this is not the case, open the Team Developer perspective as follows:
  1. From the Eclipse IDE, click Open Perspective Open Perspective.
  2. On the Open Perspective dialog box, select Team Developer (default), and then click Open.

In addition, the Enterprise Development Projects system should be loaded in the Application Explorer view. To confirm this:

  • In the Application Explorer view, you should see the Enterprise Developer system. If the system is not shown, to load it:
    1. Right-click in the Application Explorer view, and then click Add System(s).
    2. In the Add System(s) dialog box, select ED System and click OK.
    3. Expand the top-level Enterprise Developer entry in the Application Explorer view.
    4. Right-click Enterprise Development Projects; then click Load Application.
  • Otherwise, expand the Enterprise Developer system. An entry titled Enterprise Development Projects should appear indicating that the system is loaded.
Set Eclipse to build automatically
By default, the Eclipse Build Automatically option is turned on, which means that Eclipse builds a project automatically each time a change is made. To ensure that this Build Automatically is turned on:
  1. From the Eclipse Main Menu, click Project.
  2. Do one of the following:
    • If the Build Automatically menu option has a check mark to its left, it is already turned on. No further action is required.
    • If the Build Automatically menu option does not have a check mark to its left, click the option to turn it on.
Connect to the default ESCWA server
Ensure that Server Explorer contains a connection to the default ESCWA server shipped with the product. (Existing workspaces may already have this connection.)
  1. In the Server Explorer view, click Create a new connection to an existing Enterprise Server Common Web Administration instance (Create a new connection...), or right-click and select New > Enterprise Server Common Web Administration Connection.

    The New Enterprise Server Common Web Administration Connection dialog box is displayed.

  2. In the Name field, type Local.
  3. In the Server address field, type localhost.
  4. In the Server port field, leave the default as 10086.
  5. If the server connection is TLS-enabled, select TLS Enabled, and then click Browse and select the appropriate certificate.
    Note: If TLS Enabled is selected, but you do not specify a certificate, the default Java keystore is searched for a valid one.
  6. Click Finish.

    A connection attempt is made, and if successful, the new ESCWA connection is displayed at the top level, in the Server Explorer.

Sequence

To complete this tutorial, progress through these topics in the order presented here. The bottom of each topic provides Next topic and Previous topic navigational links to help you proceed in the proper sequence: