The software components required for successful HCOSS application deployment depend on your deployment scenario. For details, see Additional Software Requirements on Windows.
If you use HCOSS with SQL CLR stored procedures and you want to deploy to the SQL Server database from a machine other than your development machine, you must install HCOSS on that machine, and then copy your most recent mfhcocds.txt file to the %ALLUSERSPROFILE%\Micro Focus\Enterprise Developer directory on the same machine.
To deploy an Enterprise Developer HCOSS application that was not compiled using the DBRMLIB directive, meaning that you did not bind the DBRM files for your application, complete the steps presented in the topic Deploying Native COBOL Applications. The steps presented there are necessary to successfully deploy your application to the deployment machine.
To bind an Enterprise Developer HCOSS application using the DBRMLIB directive and deploy it to a deployment machine, you have two choices:
Follow the steps defined in Deploying Native COBOL Applications, moving your HCOSS application as specified
Specifically, copy database request modules (DBRMs), that is, the DBRMName.hcodbrm files, from the development machine to the equivalent directory on the deployment machine. The location of your DBRM files varies on your development machine depending on your HCOSS options, and the specified DBRMLIB directive. The location on your development machine is:
localHCOSSFiles\DBRMDataSets\DBRMLIBName
Where localHCOSSFiles represents the value of the Local HCOSS Directory HCOSS option, and DBRMLIBName represents the value of the DBRMLIB directive.
On the deployment machine, you must put the DBRM files into a subdirectory of the default directory: %LOCALAPPDATA%\Micro Focus\Enterprise Developer\hcoss\DBRMDataSets. The subdirectory name must match the DBRMLIB name.
For example, assuming the following:
Development machine Windows user ID | devuser |
Deployment machine Windows user ID | exeuser |
DBRMLIB directive | SQL(DBRMLIB=REX.PROJECT.DEMO) |
Value of Local HCOSS Directory HCOSS option on both machines | Default setting, %LOCALAPPDATA%\Micro Focus\Enterprise Developer\hcoss\DBRMDataSets |
You then copy the generated DBRM files using the following directory specifications:
Development Machine | Deployment Machine |
---|---|
c:\Users\devuser\AppData\Local\Micro Focus\Enterprise Developer\hcoss\DBRMDataSets\REX.PROJECT.DEMO | c:\Users\exeuser\AppData\Local\Micro Focus\Enterprise Developer\hcoss\DBRMDataSets\REX.PROJECT.DEMO |
Copy the mfhcocds.txt file on your development machine, located in the %ALLUSERSPROFILE%\Micro Focus\Enterprise Developer directory by default, to the same directory on your deployment machine.
Copy the DialectMappings.hcomap file on your development machine, located in the %ALLUSERSPROFILE%\Micro Focus\Enterprise Developer\hcoss directory by default, to the same directory on your deployment machine.