This tutorial uses a preconfigured enterprise server rather than a manually created enterprise server.
To import the preconfigured enterprise server:
- Click
Start > All Programs > Micro Focus Studio Enterprise Edition x.x
> Configuration > Enterprise Server Administration. The Enterprise Server Administration utility appears in your default browser.
- On the Home page of the Enterprise Server Administration, under Actions at the left, click
Import. The first
Import server information screen appears.
- Enter the path where the predefined server data is stored. By default this is
%ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\Examples\Visual Studio Integration\OPEN-PLI\CICSDemo\staff_def.
- Click
Next.
- Continue to click
Next through the
Import server information screens. On the final
Import server information screen, click
OK.
The selected server appears in the Enterprise Server Administration Home page server table. The server is named STAFF. Click
Edit to the left of the row for the STAFF server to view the server settings.
In the
General tab, the
Configuration Information field shows the following:
[ES-Environment]
ES_PLI_SUPPORT=Y
MF_USE_JAVA_CW=Y
CICSDEMO=%ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\Examples\Visual Studio Integration\OPEN-PLI\CICSDEMO
CODEWATCH_SRCPATH=$CICSDEMO
CODEWATCH_STBPATH=$CICSDEMO\cicsrdef
ES_SSTM_CICS="$CICSDEMO\sstmcics.jcl"
MFPLI_CONFIG_DIR=$CICSDEMO
Note: For
Studio Enterprise Edition, ensure the path for CICSDEMO is correct. If not, edit the path to match the install location of the CICS demo samples.
- ES_PLI_SUPPORT=Y loads CICS Emulation subsystem support for PL/I user programs.
- MF_USE_JAVA_CW=Y specifies use of Java CodeWatch for debugging.
- CODEWATCH_SRCPATH is the location where the source files are stored.
- CODEWATCH_STBPATH shows where the debugger looks for its symbol (.stb) files.
In the
MSS tab, CICS is enabled and the following paths are set.
Path
|
Value
|
Transaction Path
|
$CICSDEMO\cicsrdef
|
File Path
|
$CICSDEMO\cicsrdef
|
Map Path
|
$CICSDEMO\cicsrdef\
|
Resource Definition File Path
|
$CICSDEMO\cicsrdef
|
Default directory
|
%ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x
|
Note: These settings are only valid if you have installed
Studio Enterprise Edition to the default directory. Do the following if you have installed to a different location or a drive other than the default.
- Edit the paths to match the install location.
- Click the
General tab and create an entry in the
Configuration Information field to set the
PROGRAMFILES variable to the install location. For example, if installing to
Program Files (x86) on a
D: drive, type the line
PROGRAMFILES=d:\program files (x86) in the
Configuration Information field.
Click the
Listeners tab and check the settings for the TN3270 listener. The port to which the terminal emulator connects is 5150.