Results 1 to 5 of 5
Thread: how to get no lengthy output
-
12-30-2008, 10:30 AM #1Member
- Join Date
- Jan 2004
- Location
- NL
- Posts
- 32
- Thanks
- 0
- Thanked 0 Times in 0 Posts
how to get no lengthy output
running commands in interactive mode give a nice overview (line bij line)
e.g. q devclass * f=d
If i run this from a script (in combination with other queries (for documentation purposes))
the output is just a few lines, but these are long. I cannot use this in a document.
Is there a way to reduce the lengthy lines and get the output as it was started manually
The output of ISC is huge, lot of lines and not realy readable
-
12-30-2008, 11:50 AM #2Senior Member
- Join Date
- Nov 2005
- Location
- Montreal, CA
- Posts
- 636
- Thanks
- 0
- Thanked 4 Times in 4 Posts
Hi,
Post your script.
What scripting tool are you using?
Rudy
-
12-30-2008, 04:19 PM #3Member
- Join Date
- Jan 2004
- Location
- NL
- Posts
- 32
- Thanks
- 0
- Thanked 0 Times in 0 Posts
I've a TSM script which contains a lot, but
q status
will display normally (manually entered)
Server Name ServerXXX
Server Host name or IP address 1.1.1.1
server tcp/ip port 1500
etc
if i run it and redirect it
run script > c:/xxxx
it will show
Server Name Server Host name or IP address server tcp/ip port
------------------- ------------------------------- -------------------
ServerXXX 1.1.1.1 1500 ------> etc
-
12-31-2008, 10:03 AM #4Senior Member
- Join Date
- Nov 2005
- Location
- Montreal, CA
- Posts
- 636
- Thanks
- 0
- Thanked 4 Times in 4 Posts
Hi,
Add -DISPLaymode=LISt to your dsmadmc command statements in your script.
OR
Use -OUTfile=c:\xxxx instead of > c:\xxxx
Rudy
-
01-08-2009, 11:26 AM #5Member
- Join Date
- Jan 2004
- Location
- NL
- Posts
- 32
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Thanks
Rudy, Thanks for your answer, just had the time to implement it. Rene
Similar Threads
-
Hard to believe output!!!!
By influx in forum ScriptingReplies: 4Last Post: 12-10-2008, 10:40 AM -
different in q stg output
By frmueller in forum Capacity PlanningReplies: 0Last Post: 03-02-2007, 10:13 AM -
Output to CSV
By Patrick in forum Administrative ClientReplies: 2Last Post: 04-18-2006, 08:52 PM -
output to a file
By jthillo in forum TSM Reporting & MonitoringReplies: 1Last Post: 01-05-2006, 05:01 PM -
Output in 1 line
By compare in forum ScriptingReplies: 2Last Post: 08-03-2004, 02:47 AM


Reply With Quote
