Previous Topic Next topic Print topic


To install a deployment package using the mfdepinst command

Restriction: This topic applies only when the Enterprise Server feature is enabled.
  1. If you don't already have one, generate a COBOL archive (.car) file using the Deploy tool or the imtkmake command.
  2. Copy the .mfdeploy file, located by default in %ProgramFiles(x86)%\Micro Focus\Visual COBOL\deploy (Windows) or $COBDIR/deploy (UNIX), to the parent directory of the .car file that you want to deploy. For example, if the .car file is in %COBDIR%\deploy\test (Windows) or $COBDIR/deploy/test (UNIX), the .mfdeploy file must be copied to %COBDIR%\deploy (Windows) or $COBDIR/deploy (UNIX).
  3. Open the .mfdeploy file in a text editor, and edit the MFES_SERVER line. By default this is set to ESDEMO. Change it to specify the name of the enterprise server you want to use, as follows:

    MFES_SERVER=myserver

  4. Deploy the .car file using the mfdepinst command. For example, to deploy the services in myservice.car, enter the following at a command prompt:
    mfdepinst myservice.car
Previous Topic Next topic Print topic