, ,

When you are working in a Caché session, you don’t need to stick to a single line per command. People think in one step at a time.

For example:

csession myinst
MY> zn "%SYS"
MY> d ^%SS

Instead of this, why not do this:

csession -U '%SYS' 'ALL^%SS' |more

The ALL line entry into the %SS command provides a long list without paging, and then the pager of choice can be used with all of the shell access available as necessary. However, this also makes it possible to use the grep command or sed command or perform other processing on the resulting output.

It is also possible to feed in input using echo to answer prompts as necessary.