OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: Michel de Kraker on January 21, 2015, 02:13:35 PM

Title: arsdoc update question
Post by: Michel de Kraker on January 21, 2015, 02:13:35 PM
Hi All

I have within 1 folder 2 application groups named : D111 and D111.13072013
Sometimes we have to update an field in D111 and sometimes in D111.13072013.

Is it possible to have 1 arsdoc update statement which can update 2 application groups within the same folder or do i have to make 2 seperate arsdoc update statements?

Kind regards,

Michel.
Title: Re: arsdoc update question
Post by: jw on January 21, 2015, 04:44:53 PM
Hi Michel,

You can put the arsdoc update statement in a script like the following:

arsdoc update -h `hostname` -u $userid -p $password -v -f "folder_name" -g "$1" -i "where conditions go here" -n "update info goes here" -S "2014/01/01,2014/12/31,%Y/%m/%d"

where $1 is the input parameter for the script

Hope this helps.
Title: Re: arsdoc update question
Post by: Michel de Kraker on January 22, 2015, 10:26:23 AM
Hi jw ,

thanks for your reaction.

What i meant was the following.

my folder points to 2 application groups (AG)
With arsdoc update i have to add the parameter -g which points to a AG.  But sometimes the update needs to take place in the other AG. Is is possible to have the arsdoc update statement pointing to 2 AG's instead of 1. I do not know which AG needs to be updated.

Kind regards,

Michel.