Sun Management Center Change Manager 1.0.1 Reference Manual

## cmgetprop(1MCM)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | SEE ALSO

#### NAME

cmgetprop– Get Change Manager property value

#### SYNOPSIS

`cmgetprop` property-name

#### DESCRIPTION

The cmgetprop(1MCM) command writes the value of the specified property to standard output. Note that no value is returned when the property is not set.

Use the `cmgetprop` command in deployment finish scripts to get property values. Change Manager finish scripts are stored in the `/etc/ichange.d` directory.

The `cmgetprop` command is included in the `$PATH` supplied to the Change Manager finish scripts.

#### EXAMPLES

##### Example 1 Using the `cmgetprop` Command

The following line might exist in a Change Manager finish script.

    FILENAME=`cmgetprop FNAME`

This code assigns the value of the `FNAME` property to the `FILENAME` variable.

#### SEE ALSO

Sun Management Center Change Manager 1.0.1 Administration Guide

SunOS 5.9 Last Revised 10 October 2002

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | SEE ALSO

- © 2010, Oracle Corporation and/or its affiliates