ADSM-L

Insert Machine Characteristics

1999-03-25 11:29:42
Subject: Insert Machine Characteristics
From: Barry Hill <BarryH AT ECHD DOT ORG>
Date: Thu, 25 Mar 1999 10:29:42 -0600
I am sure I am overlooking something obvious, but I am having trouble
inserting machine characteristics using a macro.  I used an awk script to
create a macro file "clientinfo.mac".

sample of clientinfo.mac:

delete machine mch_adsm type=characteri
insert machine mch_adsm 1 characteri="devices"
insert machine mch_adsm 2 characteri="sys0       Available 00-00
System Object"
insert machine mch_adsm 3 characteri="sysplanar0 Available 00-00
System Planar"
insert machine mch_adsm 4 characteri="bus0       Available 00-00        PCI
Bus"

the output of the "q mach mch_adsm f=char" command before running the macro
is:

adsm> q mach mch_adsm f=char
MCH_ADSM Server Characteristics

I invoked the macro with:

$ dsmadmc -id=admin -pa=xxxx -outfile=mac.out macro
/usr/lpp/adsmserv/bin/clientinfo.mac

The result of the command was:

Session established with server MCH_ADSM: AIX-RS/6000
  Server Version 3, Release 1, Level 1.5
  Server date/time: 03/25/1999 09:49:07  Last access: 03/25/1999 09:11:40

$

"mac.out" contained:

ADSTAR Distributed Storage Manager
Command Line Administrative Interface - Version 3, Release 1, Level 0.0
(C) Copyright IBM Corporation, 1990, 1997, All Rights Reserved.

ANS8000I Server command: 'delete machine mch_adsm type=characteri'
ANR6754I Machine MCH_ADSM characteristics deleted.
ANS8000I Server command: 'insert machine mch_adsm 1 characteri="devices"'
ANS8000I Server command: 'insert machine mch_adsm 2 characteri="sys0
Available 00-00        System Object"'
ANS8000I Server command: 'insert machine mch_adsm 3 characteri="sysplanar0
Available 00-00        System Planar"'
ANS8000I Server command: 'insert machine mch_adsm 4 characteri="bus0
Available 00-00        PCI Bus"'

ANS8002I Highest return code was 0.

A view of the Server Activity log displays:

03/25/99 09:49:07 ANR0407I Session 2789 started for administrator ADMIN
(AIX) (Tcp/Ip xxx.xxx.xxx.xxx(2575)).
03/25/99 09:49:07 ANR6754I Machine MCH_ADSM characteristics deleted.
03/25/99 09:49:08 ANR0405I Session 2789 ended for administrator ADMIN (AIX).



the output of the "q mach mch_adsm f=char" command after running the macro
is:

adsm> q mach mch_adsm f=char
MCH_ADSM Server Characteristics

The old entry was not deleted, and the new entries were not inserted.  Any
help would be appreciated.

> Barry T. Hill
> Network Specialist
> Medical Center Hospital
400 W 4th Street
Odessa, TX  79761
(915) 640-1080
(915) 640-1378 FAX
<Prev in Thread] Current Thread [Next in Thread>
  • Insert Machine Characteristics, Barry Hill <=