How do I force a query output to a file to be one item per line?

I'm sorry to repeat a question, because I thought I remembered seeing the
answer to this question a week or two ago. But I can't find it in my notes.

Often when I run a query f=d I get different layouts if I run it interactively
or direct the output to a file. This is spectacularly different in the query
"q stg stgpoolname f=d". When the output goes to a tty the result is nice,
easy to parse, one item to a line. When the output goes to a file I get a
table that is (if I counted correctly) 460 columns wide, but even so some of
the items are split across two lines!

As an alternative, when I run a command in a script and pipe the output, it
still puts out "(Enter to continue, 'C' to cancel)" and waits for a newline.
How can I get it to just dump the output through the pipe without paging?

ADSM server release is 3.1.2.20, command line interface 3.1.0.0, running on
AIX 4.1.5 and 4.3.0.0.

Thanks,
Kai.

Reply via email to