The Caché Command Line

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.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: