- fixed C++ padding stuff
"\t/** $f->{comment} */\n\t\t$u = $StatusAttrNums{$u},\n" :
"#error \"$u not defined in StatusAttrNames\"\n";
}
+ gen "\tATTR_MAX = $stno /**< Limit for range checking. */ ";
@@@}
- ATTR_MAX /**< Limit for range checking. */
};
@@@{
}
-/* FIXME: this will not work with the current frozen assignment of constants in JobStatus.h */
static std::string const attr_names[JobStatus::ATTR_MAX] = {
@@@{
- for (sort {$a cmp $b} getAllFields $status) {
- gen "\t\"$_\",\n";
+ require '../src/StatusAttrNames.pl';
+ for (@main::StatusAttrNames) {
+ my $fn = lc $_;
+ gen "\t\"$fn\",\n";
}
@@@}
};
SUSPEND_REASON
SUSPENDED
USER_TAGS
+ REMOVE_FROM_PROXY
/;
string suspend_reason Reason for the suspend
string failure_reasons Concatenated job failure reasons, possibly from deeper middleware layers
+bool remove_from_proxy Job reached final status and may be removed from proxy
-_pad_ 55
+_pad_ 54
string pbs_state Job state which would probably return PBS qstat (Q/R/C/....)
string pbs_queue Name of queue in which is job queued