OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: hlim on February 15, 2011, 07:30:52 PM

Title: arsdoc update
Post by: hlim on February 15, 2011, 07:30:52 PM
Hi all,

I'm getting following error when I try to update report title (I also tried other fields and getting same error).  Any idea?

C:\Program Files\IBM\OnDemand for WinNT\bin>arsdoc update -u admin -p mypassword -
h localhost -i "WHERE report_title = 'Trial Balance'" -n "report_title = 'Trial
Balance2'" -f "MYTESTFOLDER" -v

02/15/2011 11:17:14 : Starting arsdoc.  Version:  8.4.1.5

02/15/2011 11:17:14 : arsdoc update -u admin -h localhost -i WHERE report_title
= 'Trial Balance' -n report_title = 'Trial Balance2' -f MYTESTFOLDER -v

02/15/2011 11:17:14 : Attempting login for userid 'admin' on server 'localhost'
...

02/15/2011 11:17:14 : Login successful

02/15/2011 11:17:14 : Searching for folder 'MYTESTFOLDER' ...

02/15/2011 11:17:14 : Search successful

02/15/2011 11:17:14 : Index values that have been stored in database field 'repo
rt_title' cannot be changed.

02/15/2011 11:17:14 : arsdoc completed.
Title: Re: arsdoc update
Post by: Alessandro Perucchi on February 16, 2011, 11:19:55 AM
Hello,

Have you check in the field information on your application group if the field has the option "Updateable" or not?
If not, then you cannot update your field... if yes, then the error is elsewhere!
Is the field you are triying to change is an "Application ID" field? If yes, then you cannot change the value of this field too, well to change it would be to export/reimport in a new application.

Cheers,
Alessandro
Title: Re: arsdoc update
Post by: Justin Derrick on February 18, 2011, 08:19:30 AM
I agree with Alessandro's first point -- sounds like a lack of permissions or an Application Group configuration issue.
Title: Re: arsdoc update
Post by: hlim on February 25, 2011, 10:25:25 PM
That was it.  Thank you so much.