Set Up the InvokeReverseJSON Project

Import the InvokeReverseJSON project

  1. From the Eclipse main menu, click File > Import.
  2. Expand General, and select Existing Projects into Workspace, and then click Next.
  3. Select Select root directory, then browse to the %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\CICS\Classic\CWS\JSON\Requester\TopDown directory, and then click Select Folder.
  4. On the Projects list, ensure that ReverseJSON is checked.
  5. Under Options, check Copy projects into workspace, and then click Finish.

    The Application Explorer view now shows the InvokeReverseJSON project, which is created in an InvokeReverseJSON subdirectory of your current Eclipse workspace, and is built automatically.

Add project folders for generated request and response bundles

  1. In the Application Explorer view, right-click the InvokeReverseJSON project.
  2. Select New > Folder > Folder from the context menu.
  3. In the Folder name field, type bundles, and then click Finish.
  4. In the Application Explorer view, right-click the bundles folder you just created.
  5. Using the same method, create subfolders named REQBNDL and RESPBNDL respectively.

Start the HACloud Session Server

Ensure that you have updated the Micro Focus HACloud service property to start up automatically. For instructions on how to do so, see Starting the HACloud Session Server.

  1. Ensure that the installed Java is added to the PATH environment variable.
  2. Start the Enterprise Server region that runs the application you want to connect to.
  3. Start either the 32-bit or 64-bit Enterprise Developer command prompt or Enterprise Server command prompt - this must match the working mode, 32 or 64-bit, of the JRE you have installed.
  4. Type startsessionserver at the command prompt, and press Enter.

    Check the console for the messages that the Micro Focus HACloud Session Server has started.

To start the HACloud session server on UNIX:

  1. Ensure that the installed Java is added to the PATH environment variable.
  2. Start the Enterprise Server region that runs the application you want to connect to.
  3. Open a terminal and set up the COBOL environment in it.
  4. Run the following to start the session server:
    startsessionserver.sh

    Check the terminal for the messages that the Micro Focus HACloud Session Server has started.