int GRBupdatebatch ( GRBbatch *batch )

All Batch attribute values are cached locally, so queries return the value received during the last communication with the Cluster Manager. This function refreshes the values of all attributes with the values currently available in the Cluster Manager (which involves network communication).

Return value:

A non-zero return value indicates that a problem occurred while updating the batch request. Refer to the Error Code table for a list of possible return values. Details on the error can be obtained by calling GRBgeterrormsg.


batch: The batch that will be updated.

Example usage:

    /* update local attributes */
    error = GRBupdatebatch(batch);
    if (error) goto QUIT;