BULK_UPDATE function

Use to update the index values for a large number of documents. You must name the application group to update and specify one or more application group fields and their values. To identify the documents that you want to update, you can use the following parameters to query the database:
  • SQL query (-i)
  • hold name (-l)
  • text search string (-T)
  • load ID (-x)

If you use an SQL query, it must contain clauses, database field names, index values, and operators. Without the -L parameter, the BULK_UPDATE function updates all of the rows that match the query. You can optionally use the -L parameter to specify a maximum number of rows to be updated, regardless of the number of items that match the query. This method allows for the updates to be done in smaller batches, in a more controlled manner, by running the same ARSDOC command multiple times.

The BULK_UPDATE function does not change the actual document data.

Read syntax diagramSkip visual syntax diagramarsdoc bulk_update-gapplGroup-GapplGroup-hinstance -isqlQuery-lholdname-Tsearch_string-xloadID-ndbfield=value-Lmax_docs-ppassword-Sstartdate,enddate,format-uuserid-Uuser_alias-v-1trace_file-2level
When you use the parameter file option, you must specify the -F, -h, -p, -u, -U, -v, -1, and -2 parameters on the command line. All other parameters must be specified in the parameter file. The following shows the syntax of the BULK_UPDATE function when you use the parameter file option:
Read syntax diagramSkip visual syntax diagramarsdoc bulk_update-Fparm_file -hinstance -ppassword-uuserid-Uuser_alias-v-1trace_file-2level
The syntax of the parameter file for the BULK_UPDATE function is:
Read syntax diagramSkip visual syntax diagram[-gapplGroup-GapplGroup][-isqlQuery][-lholdname][-Tsearch_string][-xloadID][-ndbfield=value][-Lmax_docs][-Sstartdate,enddate,format]