I've realized I have this structure in several place where are some attributes of the value required  (in this case, trimmed and caps)...

ASSIGN FRAME {&FRAME-NAME} {&SELF-NAME}
   {&SELF-NAME} = CAPS(TRIM({&SELF-NAME})).

DISPLAY {&SELF-NAME} WITH FRAME {&FRAME-NAME}.

Is there another way more elegant to do this?

TIA