IBM

lsb_readstatus

Reads a current version eventRec structure from the lsb_status file.

lsb_readstatus reads an eventrRec from the open statusFile.

#include <lsf/lsbatch.h>

struct eventRec lsb_readstatus(int *nline)

Parameters:
*nline Line number in the status file to be read.
Data Structures:
eventRec
Define Statements:
none
Returns:
int:0
The function was successful.

int:-1
The function failed.

Errors:
On failure, lsberrno is set to indicate the error.
Equivalent line commands:
none
Files:
$LSB_CONFDIR/cluster_name/configdir/lsb.params
See also:
lsb_closestatus

lsb_geteventrec

lsb_openstatus

lsb_puteventrec

lsb_readstatusline

lsb_streamversion

lsb_writestatus



     
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.