Admin Production rocket
Current Publication

mfdepinst

Server for COBOL Help for Windows V5.1
Rocket® Server for COBOL (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.

mfdepinst

Installs the services contained in a COBOL archive file (.car file) onto the enterprise server.

Syntax:
mfdepinst myservice.car
Parameters:
myservice.car The name of the .car file containing the service to be deployed
Dependencies:

mfdepinst must be in the same directory as the .car file.

There must be a .mfdeploy file in the parent directory. So, for example, if the .car file is in $COBDIR/deploy/test, there must be a .mfdeploy file in $COBDIR/deploy (which is the installation default deployment directory).

Comments:

mfdepinst extracts files from the .car file into the current directory. It extracts files with relative pathnames into subdirectories, which it creates as necessary. Files without paths or with absolute pathnames are extracted into the current directory. mfdepinst overwrites any files in the current directory with those in the .car file.

mfdepinst records its progress in the file deploylog.txt in the current directory, overwriting any existing deploylog.txt. After mfdepinst completes, you can examine this file to find out if deployment succeeded.

Example:

To install the services from /tmp/myservice.car:

cd $COBDIR/deploy
    mkdir myservice
    cd myservice
    cp /tmp/myservice.car .
    mfdepinst myservice.car
    cat deploylog.txt