get_params.sh script
Use the get_params.sh
script to parse
the argument list into named variables in the IBM® Product Master environment.
Syntax
get_params.sh --variable_1=value_1 --variable_2=value_2 [--debug=yes]
Parameters
- variable_1
- Sets _CCD_VARIABLE_1 to value_1.
- variable_2
- Sets _CCD_VARIABLE_2 to value_2.
- debug
- Displays debugging information if set to yes.
Example
In this example, the get_params.sh
script
is run with the parameters confirm_db = yes and
name = acme:
$<install directory>/bin/get_params.sh --confirm_db=yes --name=acme
This
would create and set two variables, _CCD_CONFIRM_DB=yes, and _CCD_NAME=acme.