J. O'Neall wrote:
>
> HELP,please --
>
> We have a (whole) bunch of perl scripts to control our ADSM operations,
> migrations, DRM, etc. via the dsmadmc command. We DEPEND on them.
> Everything worked fine until we upgraded the administrative client from
> 3.1.0.3 to 3.1.0.5. Now a command like "q db f=d", instead of returning the
> lines of output to perl, returns them as columns. I.e.,
>
> a b c d e
> f g h i j
> k l m n o
> p q r s t
>
> comes out looking like
>
> a f k p
> b g l q
> c h m r
> d i n s
> e j o t
>
> or at least that seems to be the case. Anyone else see this problem? We
> NEED help on this thing. Hope it's something trivial I've missed.
>
> John O'Neall
> Centre de Calcul de l'IN2P3
> Villeurbanne, France
In fact, the problem arises as soon as the query command is piped
or redirected into a file.
For instance:
============
dsmadmc -id=user -pass=xxx q db f=d
ADSTAR Distributed Storage Manager
Command Line Administrative Interface - Version 3, Release 1, Level 0.5
(C) Copyright IBM Corporation, 1990, 1997, All Rights Reserved.
Session established with server CCADSM1: AIX-RS/6000
Server Version 3, Release 1, Level 1.5
Server date/time: 11/24/98 17:47:41 Last access: 11/24/98
17:41:15
ANS8000I Server command: 'q db f=d'
Available Space (MB): 5,904
Assigned Capacity (MB): 5,400
Maximum Extension (MB): 504
Maximum Reduction (MB): 1,508
Page Size (bytes): 4,096
Total Usable Pages: 1,382,400
Used Pages: 890,549
Pct Util: 64.4
Max. Pct Util: 64.9
Physical Volumes: 6
Buffer Pool Pages: 4,096
Total Buffer Requests: 5,218,695
Cache Hit Pct.: 99.12
Cache Wait Pct.: 0.00
Backup in Progress?: No
Type of Backup In Progress:
Incrementals Since Last Full: 0
Changed Since Last Backup (MB): 97.98
Percentage Changed: 2.82
Last Complete Backup Date/Time: 11/24/98 10:20:14
ANS8002I Highest return code was 0.
But:
===========
dsmadmc -id=user -pass=xxx q db f=d | more
ADSTAR Distributed Storage Manager
Command Line Administrative Interface - Version 3, Release 1, Level 0.5
(C) Copyright IBM Corporation, 1990, 1997, All Rights Reserved.
Session established with server CCADSM1: AIX-RS/6000
Server Version 3, Release 1, Level 1.5
Server date/time: 11/24/98 17:49:48 Last access: 11/24/98
17:41:15
ANS8000I Server command: 'q db f=d'
Available Assigned Maximum Maximum Page
Total
Used Pct Max. Physical Buffer
Total Cach
e Cache Backup in Type of Incrementals
Changed Perce
ntage Last
Space Capacity Extension Reduction Size
Usable
Pages Util Pct Volumes Pool
Buffer Hi
t Wait Progress? Backup In Since Last
Since Ch
anged Complete
(MB) (MB) (MB) (MB) (bytes)
Pages
Util Pages
Requests Pct
. Pct. Progress Full
Last
Backup
Backup
Date/Time
(MB)
--------- -------- --------- --------- -------
---------
---------
--------- ----- ----- -------- ------
--------- ----- ----- -------- ------
----------- -----
------ --------- ---------- ------------
------ --------- ---------- ------------
------- -----
----- ---------
----- ---------
5,904 5,400 504 1,508 4,096
5,904 5,400 504 1,508 4,096
1,382,400
890,549 64.4 64.9 6 4,096
5,218,712 99.1
2 0.00 No 0
97.98
2.82 11/24/98
10:20:14
ANS8002I Highest return code was 0.
--
--- Daniel GERLIC ---
--- Daniel GERLIC ---
CCIN2P3,27 Bd du 11 Novembre,F69622 VILLEURBANNE Cedex,FRANCE
CCIN2P3,27 Bd du 11 Novembre,F69622 VILLEURBANNE Cedex,FRANCE
Tel +33 (0)478 93 08 80 Fax +33 (0)478 94 30 54
E_mail: mailto:gerlic AT cc.in2p3 DOT fr URL: http://www.in2p3.fr/CC
|