Composite physical options are specified over multiple lines, and contain one or more dependent options. If you add the composite option to the right pane of the Physical Options tab, all the dependant options are added with it. If you add a dependant option, the composite option is added as well to contain it.
Composite physical options are defined with the following syntax:
name [=] [%s|%d|%variable%] : composite=yes[, keywords] { sub-option [sub-option...] }
Everything entered before the colon is generated in scripts. The name is required by PowerDesigner, but you can place it between carets (<name>) if you need to exclude it from the final script. The %d or %s variables require a numeric or string value, and you can also use a PowerDesigner variable or GTL snippet.
The composite=yes keyword is required for composite options, and can be used in conjunction with any of the simple physical option keywords or any of the following:
Keyword |
Value and result |
---|---|
composite=yes |
Specifies that the option is a composite option containing dependant options surround by curly braces. |
separator=yes |
Specifies that the dependant options are separated by commas. |
parenthesis=yes |
Specifies that the ensemble of dependant objects are contained between parentheses. |
chldmand=yes |
Specifies that at least one of the dependant options must be set. |
Physical Option | Generates As |
---|---|
<list> : composite=yes, multiple=yes { <frag-expression> %s in %s : category=storage } |
frag-expression in storage frag-expression2 in storage2 etc |
<using_block> : composite=yes,parenthesis=yes { using vcat %s using stogroup %s : category=storage, composite=yes { priqty %d : default=12 secqty %d erase %s : default=no, list=yes | no } |
(using vcat string using stogroup storage priqty value secqty value erase no) |