IBM

lsb_modify

Modifies a submitted job's parameters.

lsb_modify() allows for the modification of a submitted job's parameters.

#include <lsf/lsbatch.h>

LS_LONG_INT lsb_modify (struct submit *jobsubReq, struct submitReply *jobSubReply, LS_LONG_INT jobId)

Parameters:
*jobSubReq Describes the requirements for job modification to the batch system. A job that does not meet these requirements is not submitted to the batch system and an error is returned.
*jobSubReply Describes the results of the job modification to the batch system.
jobId The job to be modified. If an element of a job array is to be modified, use the array form jobID[i] where jobID is the job array name, and i is the index value.
Data Structures:
submit
submitReply
Define Statements:
none
Returns:
LS_LONG_INT:jobID
The function was successful, and sets the queue field of jobSubReply to the name of the queue that the job was submitted to.

LS_LONG_INT:-1
Function failed.

Errors:
If the function fails, lsberrno is set to indicate the error.
Equivalent line command :
bmod
Files:
${LSF_ENVDIR:-/etc}/lsf.conf
See also:
lsb_submit

ls_info

ls_rtask

lsb_queueinfo



     
Date Modified: 16 Jul 2014

Terms of Use
Copyright © 1994-2014 International Business Machines Corp.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.