arsdoc update question

Previous topic - Next topic

Michel de Kraker

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.

jw

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.

Michel de Kraker

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.