Hello Jan
the Variable %USER% doesnt display any Output because its related to the users modeled in your Model, for example to create a user from the model the following code is used:
[.O:[create user %USER%[ %Definition%]][create schema authorization %USER% %SCHEMADEFN%]]
in the scope you are trying to use it its not defined and not holding the information of the PowerDesigner user
But as in VBS the variable USERNAME does hold the PD user you can use .vbscript to get this information:
This script in the headerscetion of the dbms-definition:
/* THIS IS A TEST FOR USER
.vbscript()
ScriptResult = UserName
.endvbscript
, hopefully its succesful */
Outputs:
/* THIS IS A TEST FOR USER HTE4974, HOPEFULLY ITS SUCCESFUL */
with the other stuff i cant help you without digging to deep
i also dont understand what is a configuration label
regards
dj