Import the InvokeReverseJSON project
- From the Eclipse main menu, click
File > Import.
- Expand
General, and select
Existing Projects into Workspace, and then click
Next.
- 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.
- On the
Projects list, ensure that
ReverseJSON is checked.
- 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
- In the
Application Explorer view, right-click the
InvokeReverseJSON project.
- Select
New > Folder > Folder from the context menu.
- In the
Folder name field, type
bundles, and then click
Finish.
- In the
Application Explorer view, right-click the
bundles folder you just created.
- 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.
- Ensure that the installed Java is added to the PATH environment variable.
- Start the
Enterprise Server region that runs the application you want to connect to.
- 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.
- 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:
- Ensure that the installed Java is added to the PATH environment variable.
- Start the
Enterprise Server region that runs the application you want to connect to.
- Open a terminal and set up the COBOL environment in it.
- 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.