IBM

lsb_writependingreasons

Writes a current version eventRec structure into the lsb_pendingreasons file.

lsb_writependingreasons writes an eventrRec to the open pendingreasonsFile. This API function is inside liblsbstream.so.

#include <lsf/lsbatch.h>

int lsb_writependingreasons(struct eventRec *logPtr)

Parameters:
*logPtr Pointer to the eventRec structure.
see lsb_geteventrec for details on the eventRec structure.
Data Structures:
eventRec
eventLog
eventEOSLog
jobPendingReasonsLog
Define Statements:
Returns:
int:0
The function was successful.

int:-1
The function failed.

Errors:
If the function fails, lsberrno is set to indicate the error.
Equivalent line commands:
none
Files:
$LSB_CONFDIR/cluster_name/configdir/lsb.params
See also:
lsb_closependingreasons

lsb_geteventrec

lsb_openpendingreasons

lsb_puteventrec

lsb_readstreamline

lsb_readpendingreasons



     
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.