If this is for digestion by another program, use the -comma or -tab switches on the dsmadmc command line. Then all your responses are formatted for very easy digestion by other programs, albeit tough reading for humans. (Try -comma in an interactive session, just to see!) For instance, SPSS reads -comma formatted output very easily to produce great statistics and reports.
Note that the WIDTH of your terminal window can also affect whether table or list format is selected. If the terminal is wide enough to display all the fields of f=d format in table format, it will. The f=d option does NOT necessarily imply list format; it only means additonal information, which in many (but not all!) cases requires it to switch to list format. I suspect that the difference between -outfile and redirection is that the query command itself knows when redirection is in effect, and that it is free from telnet window (or real terminal) width restrictions in that case. I also suspect that it is a bit stupid some of the time, using list when it ought to use table and vice-versa. Hence -comma when it matters. Roger Deschner University of Illinois at Chicago [EMAIL PROTECTED] ===== "It's gotten to the point where the only place where you can ===== ====== get work done is at home, because no one bugs you, and the ====== ======= best place to entertain yourself is at work, because the ======= ============ Internet connections are faster." -- Scott Adams ========== On Fri, 5 Apr 2002, David E Ehresman wrote: >>You could try using -outfile instead of redirection. > >That did the trick. Now does anyone know why -outfile minics output to >a terminal while redirection does not? What's the difference between >them? > >David >