Hello,
I want to hide 'Notes' and 'Active Dataset' from my output when running tables. With this syntax it is hiding the 'Notes' OMS /SELECT TABLES /IF SUBTYPES=['Notes'] /DESTINATION VIEWER = NO ***commands OMSEND. With this syntax it is hiding the 'Active Dataset' OMS /SELECT TEXTS /IF LABELS=['Active Dataset'] /DESTINATION VIEWER = NO ***commands OMSEND. But I want to combine these actions, I tried this but that is not working because then 'Notes' AND 'Active Dataset' are NOT hidden. OMS /SELECT TEXTS /IF LABELS=['Active Dataset'] /SELECT TABLES /IF SUBTYPES=['Notes'] /DESTINATION VIEWER = NO **commands OMSEND. Does anyone has a solution how to do this with OMS command? |
You would do something like this i.e. you can concurrently have multiple OMS commands defined:
OMS /SELECT TABLES /IF SUBTYPES=['Notes'] /DESTINATION VIEWER = NO. OMS /SELECT TEXTS /IF LABELS=['Active Dataset'] /DESTINATION VIEWER = NO ***commands OMSEND. Or alternatively, you could combine the two OMS commands into one (untested): OMS /SELECT TABLES TEXTS /IF LABELS=['Notes' 'Active Dataset'] /DESTINATION VIEWER = NO ***commands OMSEND. When working with multiple OMS commands concurrently I often opt for using the TAG subcommand to have absolute control over each OMS command i.e. when exactly to trigger it to end. |
You can actually list multiple table types in the IF subcommand as Jignesh said, but I would use SUBTYPES='[Notes' 'Active Dataset'], because that is language invariant. You can also suppress these items via Edit > Options > Output. That makes them hidden but still present if you need to look at them. On Wed, Jan 6, 2016 at 6:01 AM, Jignesh Sutar <[hidden email]> wrote: You would do something like this i.e. you can concurrently have multiple OMS |
Free forum by Nabble | Edit this page |