Walks you through the process of configuring the imported JCLSPML
enterprise server regions for use with this tutorial.
Start
Enterprise Server Administration
Add configuration information
In this section, you add an
Enterprise Server environment variable, JCLPROJ, that points to your
SPCall project subdirectory.
- On the
Enterprise Server Administration
Home page, click the
Edit button that corresponds to the
JCLSPML
enterprise server region.
By default, this takes you to the
Server > Properties > General page.
- In the
Configuration Information field, add the following:
[ES-Environment]
JCLPROJ=C:\tutorials\SQLCLR\MultiProjLiteral\SPCall
- Click
Apply.
Configure the CALLSP XA resource
Now you configure the CALLSP XA resource to point to the
ESODBCXA.dll module.
- Click the
XA Resources tab.
- Click the
Edit button that corresponds to the
CALLSP XA resource name.
- Ensure that the
Module field is set to the fully expanded path to the
ESODBCXA.dll file, which by default is
C:\Program Files (x86)\Micro Focus\Enterprise Developer\src\enterpriseserver\xa\ESODBCXA.dll.
- If you are using SQL Server authentication for your ODBC connection, edit the
Open string field to append the USRPASS parameter to the open string so that it reads as follows:
DSN=SQLCLRTutorial, USRPASS=userid.password
Where
userid.password is the user ID and password used to log onto SQL Server.
If you are using Windows authentication, skip this step.
- Click
OK to save the changes.
- Close the
Enterprise Server Administration
Home page window.