Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

lsb_peekjob()

Returns the base name of the file related to the job ID

DESCRIPTION

lsb_peekjob() retrieves the name of a job file.

Only the submitter can peek at job output.

The storage for the file name will be reused by the next call.

Any program using this API must be setuid to root if LSF_AUTH is not defined in the lsf.conf file.

SYNOPSIS

#include <lsf/lsbatch.h>
char * lsb_peekjob (LS_LONG_INT jobId) 

PARAMETERS

jobId

The job ID that the LSF system assigned to the job. If a job in a job array is to be returned, use the array form jobID[i] where jobID is the job array name, and i is the index value.

RETURN VALUES

char:Name of job Output File

The function was a success.

char:NULL

Function failed.

ERRORS

If the function fails, lsberrno is set to indicate the error.

SEE ALSO

Related APIs

none

Equivalent line command

bpeek

Files

${LSF_ENVDIR-/etc}/lsf.conf


Platform Computing Inc.
www.platform.com
Knowledge Center         Contents    Previous  Next