ADSM-L

[ADSM-L] Script little question - solved

2008-01-30 05:26:20
Subject: [ADSM-L] Script little question - solved
From: Robert Ouzen Ouzen <rouzen AT UNIV.HAIFA.AC DOT IL>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 30 Jan 2008 12:25:53 +0200
Sorry 

 

The age maybe !!! I just needed to increase my Command window 

 

Regards Robert

 

 

Hi to all 

 

I wanted the output of this script in wide orientation (like table) but always 
no matter what I tried I got as a list !!!!

 

SET SQLDISPLAYMODE wide

select Distinct CHAR(p.source_name,20)as "Source Name" ,CHAR(r.drive_name,12)as 
"Drive",CHAR(p.device,20) as "Device",CHAR(r.online,12) as "Drive Online" 
,CHAR(p.online,12) as "Path Online",CHAR(r.allocated_to,15) as "Allocate TO" 
from drives r,paths p where r.library_name=p.library_name and  
r.drive_name=p.destination_name 

 

Always get:

 

Source Name: ADSM

      Drive: FILE2DRV4

     Device: file

rive Online: YES

Path Online: YES

Allocate TO:

 

Source Name: ADSM

      Drive: FILE2DRV5

     Device: file

rive Online: YES

Path Online: YES

Allocate TO:

 

Source Name: ADSM

      Drive: I2000DRV1

     Device: /dev/rmt0

rive Online: YES

Path Online: YES

Allocate TO: ADSM

 

Source Name: ADSM

      Drive: I2000DRV2

     Device: /dev/rmt1

rive Online: YES

Path Online: YES

Allocate TO: ADSM

 

I obvious miss something ???

 

Regards

Robert Ouzen

 

 

 

<Prev in Thread] Current Thread [Next in Thread>
  • [ADSM-L] Script little question - solved, Robert Ouzen Ouzen <=