Main Page   Compound List   File List   Compound Members   File Members  

jobstat.h File Reference

edg_wll_JobStat definition and related stuff. More...

Go to the source code of this file.

Compounds

struct  _edg_wll_JobStat
struct  _edg_wll_TagValue

edg_wll_JobStat manipulation

int edg_wll_InitStatus (edg_wll_JobStat *)
 Initialize empty status structure. More...

edg_wll_JobStatedg_wll_CpyStatus (edg_wll_JobStat *, edg_wll_JobStat *)
 Initialize dest structure and copy source status to this destination.

void edg_wll_FreeStatus (edg_wll_JobStat *)
 Free status structure contents. More...

edg_wll_JobStatCode edg_wll_StringToStat (const char *)
 Convert string job status to numeric code.

char * edg_wll_StatToString (edg_wll_JobStatCode)
 Convert numeric job status code to string representation.


Typedefs

typedef enum _edg_wll_JobStatCode edg_wll_JobStatCode
typedef _edg_wll_TagValue edg_wll_TagValue
typedef _edg_wll_JobStat edg_wll_JobStat

Enumerations

enum  edg_wll_StatJobtype { EDG_WLL_STAT_SIMPLE, EDG_WLL_STAT_DAG }
 Miscelaneous job status numeric codes. More...

enum  edg_wll_StatDone_code { EDG_WLL_STAT_OK, EDG_WLL_STAT_FAILED, EDG_WLL_STAT_CANCELLED }
enum  _edg_wll_JobStatCode {
  EDG_WLL_JOB_UNDEF = 0, EDG_WLL_JOB_SUBMITTED, EDG_WLL_JOB_WAITING, EDG_WLL_JOB_READY,
  EDG_WLL_JOB_SCHEDULED, EDG_WLL_JOB_RUNNING, EDG_WLL_JOB_DONE, EDG_WLL_JOB_CLEARED,
  EDG_WLL_JOB_ABORTED, EDG_WLL_JOB_CANCELLED, EDG_WLL_JOB_UNKNOWN, EDG_WLL_JOB_PURGED,
  EDG_WLL_NUMBER_OF_STATCODES
}


Detailed Description

edg_wll_JobStat definition and related stuff.


Typedef Documentation

typedef struct _edg_wll_JobStat edg_wll_JobStat
 

Description of the job status. Returned by the edg_wll_JobStatus() function

typedef enum _edg_wll_JobStatCode edg_wll_JobStatCode
 

Job status numeric code

typedef struct _edg_wll_TagValue edg_wll_TagValue
 

Pair tag = value.


Enumeration Type Documentation

enum _edg_wll_JobStatCode
 

Job status numeric code

Enumeration values:
EDG_WLL_JOB_UNDEF  Indicates invalid edg_wll_JobStat structure.
EDG_WLL_JOB_SUBMITTED  entered by the user to the User Interface or registered by Job Partitioner.
EDG_WLL_JOB_WAITING  Accepted by WMS, waiting for resource allocation.
EDG_WLL_JOB_READY  Matching resources found.
EDG_WLL_JOB_SCHEDULED  Accepted by LRMS queue.
EDG_WLL_JOB_RUNNING  Executable is running.
EDG_WLL_JOB_DONE  Execution finished, output is available.
EDG_WLL_JOB_CLEARED  Output transfered back to user and freed.
EDG_WLL_JOB_ABORTED  Aborted by system (at any stage).
EDG_WLL_JOB_CANCELLED  Cancelled by user.
EDG_WLL_JOB_UNKNOWN  Status cannot be determined.
EDG_WLL_JOB_PURGED  Job has been purged from bookkeeping server (for LB->RGMA interface).
EDG_WLL_NUMBER_OF_STATCODES  Number of meaningful status codes.

enum edg_wll_StatDone_code
 

Enumeration values:
EDG_WLL_STAT_OK  Finished correctly.
EDG_WLL_STAT_FAILED  Execution failed.
EDG_WLL_STAT_CANCELLED  Cancelled by user.

enum edg_wll_StatJobtype
 

Miscelaneous job status numeric codes.

Enumeration values:
EDG_WLL_STAT_SIMPLE  simple job.
EDG_WLL_STAT_DAG  composite job.


Function Documentation

void edg_wll_FreeStatus edg_wll_JobStat  
 

Free status structure contents.

Warning:
The structure itself is not freed.

int edg_wll_InitStatus edg_wll_JobStat  
 

Initialize empty status structure.

Fills in the stucture with NULL's or values with no meaning


Generated on Fri May 14 14:18:56 2004 for L&B API C by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002