lsb_sysmsg
Returns a pointer to static data.lsb_sysmsg returns a pointer to static data which stores the batch error message corresponding to lsberrno. The global variable lsberrno maintained by LSBLIB holds the error number from the most recent LSBLIB call that caused an error. If lsberrno == LSBE_SYS_CALL, then the system error message defined by errno is also returned. If lsberrno == LSBE_LSLIB, then the error message returned by ls_sysmsg is returned.
#include <lsf/lsbatch.h>
char *lsb_sysmsg (void)
Data Structures:
- Parameters:
void
Define Statements:
- none
- none
Errors:
- Returns:
- char *:Return LSBATCH error message defined by lsberrno.
If lsberrno == LSBE_SYS_CALL, then the system error message defined by errno is also returned.
If lsberrno == LSBE_LSLIB, then the error message returned by ls_sysmsg is returned.NULL
Function failed.Equivalent line commands:
- If the function fails, lsberrno is set to indicate the error.
Files:
- none
- 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.