IBM

lsb_init

Initializes the LSF batch library (LSBLIB), and gets the configuration environment.

You must use lsb_init before any other LSBLIB library routine in your application.

#include <lsf/lsbatch.h>

int lsb_init(char *appname)

Parameters:
*appName The name of your application. If appName holds the name of your application, a logfile with the same name as your application receives LSBLIB transaction information. If appName is NULL, the logfile $LSF_LOGDIR/bcmd receives LSBLIB transaction information.
Data Structures:
none
Define Statements:
none
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:
none
See also:
none


     
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.