OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: jw on July 23, 2014, 04:22:55 PM

Title: how to update application group name using arsxml
Post by: jw on July 23, 2014, 04:22:55 PM
Does anyone know how to update an application group name (just the name) using arsxml?

Thanks.
Title: Re: how to update application group name using arsxml
Post by: jeffs42885 on July 23, 2014, 04:30:38 PM
How many?

if its only like 50, you can probably bang that out in 15 minutes with a good keyboard..
Title: Re: how to update application group name using arsxml
Post by: jw on July 23, 2014, 04:37:15 PM
Jeff,

Just want to know how.  As the IBM manual says it is an updateable field.  I tried

<?xml version="1.0" encoding="UTF-8" ?>
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="/usr/lpp/ars/xml/ondemand.xsd">

   <applicationGroup name="ag" name="ag_new" />

</onDemand>


then, i got an error message:

A parsing error occurred in file upd_ag.in.xml, Line 4, Column 61:
The attribute 'name' is already used in element 'applicationGroup'

Thanks.
-jw
Title: Re: how to update application group name using arsxml
Post by: Greg Ira on July 25, 2014, 06:47:13 PM
jw,
Try <applicationGroup name="ag" newName="ag_new" />
Title: Re: how to update application group name using arsxml
Post by: jw on July 28, 2014, 12:36:00 PM
Greg,

Thanks very much for the information.  It works.

How come this attribute is not in 8.5+ manual? 

Thanks again.

-jw