>>It'd make more sense to use macro expansion or scripting to drive the operation IMO.
>
>Macro Expansion and Scripting - both are new concepts to me. Where can i read up on these two concepts? Thanks again Ed.
For macro expansion, type:
HELP &.
Example:
MyCommand = "display structure"
&MyCommand
The contents of the variable are replaced, and the resulting command is executed.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)