Installs the services contained in a COBOL archive file (.car file) onto the enterprise server.
mfdepinst myservice.car
myservice.car | The name of the .car file containing the service to be deployed |
mfdepinst must be in the same directory as the .car file.
The .mfdeploy file defines which server and listener that the new objects will belong to. The .mfdeploy file must be in the parent directory of the .car file. 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).
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.
To install the service from /tmp/myservice.car:
cd $COBDIR/deploy mkdir myservice cd myservice cp /tmp/myservice.car . mfdepinst myservice.car cat deploylog.txt