1
#ifndef __MSG_SPOOLLIB_H
2
#define __MSG_SPOOLLIB_H
3
/*___INFO__MARK_BEGIN__*/
4
/*************************************************************************
6
* The Contents of this file are made available subject to the terms of
7
* the Sun Industry Standards Source License Version 1.2
9
* Sun Microsystems Inc., March, 2001
12
* Sun Industry Standards Source License Version 1.2
13
* =================================================
14
* The contents of this file are subject to the Sun Industry Standards
15
* Source License Version 1.2 (the "License"); You may not use this file
16
* except in compliance with the License. You may obtain a copy of the
17
* License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
19
* Software provided under this License is provided on an "AS IS" basis,
20
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
21
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
22
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
23
* See the License for the specific provisions governing your rights and
24
* obligations concerning the Software.
26
* The Initial Developer of the Original Code is: Sun Microsystems, Inc.
28
* Copyright: 2001 by Sun Microsystems, Inc.
30
* All Rights Reserved.
32
************************************************************************/
33
/*___INFO__MARK_END__*/
35
#include "basis_types.h"
39
* libs/spool/sge_spooling.c
41
#define MSG_SPOOL_UNKNOWNOBJECTTYPEINCONTEXT_SS _MESSAGE(59000, _("object type "SFQ" is not handled in spooling context "SFQ))
42
#define MSG_SPOOL_NODEFAULTRULEFORTYPEINCONTEXT_SS _MESSAGE(59001, _("no default rule for object type "SFQ" in spooling context "SFQ))
43
#define MSG_SPOOL_NORULESFORTYPEINCONTEXT_SS _MESSAGE(59002, _("no rules for object type "SFQ" in spooling context "SFQ))
44
#define MSG_SPOOL_CORRUPTRULEINCONTEXT_SSS _MESSAGE(59003, _("corrupt rule "SFQ" in spooling context "SFQ": "SFQ" is missing"))
45
#define MSG_SPOOL_RULEINCONTEXTFAILEDWRITING_SS _MESSAGE(59005, _("rule "SFQ" in spooling context "SFQ" failed writing an object"))
46
#define MSG_SPOOL_NOVALIDCONTEXT_S _MESSAGE(59009, _("no valid spooling context passed to "SFQ))
47
#define MSG_SPOOL_CONTEXTNEEDSNAME _MESSAGE(59010, _("spooling context has to have a name"))
48
#define MSG_SPOOL_NOVALIDSPOOLTYPE_S _MESSAGE(59011, _("no valid spool type passed to "SFQ))
49
#define MSG_SPOOL_NOVALIDRULE_S _MESSAGE(59012, _("no valid spooling rule passed to "SFQ))
50
#define MSG_SPOOL_CONTEXTCONTAINSNOTYPES_S _MESSAGE(59013, _("spooling context "SFQ" does not contain any object type descriptions"))
51
#define MSG_SPOOL_CONTEXTCONTAINSNORULES_S _MESSAGE(59014, _("spooling context "SFQ" does not contain any spooling"))
52
#define MSG_SPOOL_TYPECONTAINSNORULES_SS _MESSAGE(59015, _("type definition "SFQ" in spooling context "SFQ" contains no references to rules"))
53
#define MSG_SPOOL_TYPEHASNODEFAULTRULE_SS _MESSAGE(59016, _("type definition "SFQ" in spooling context "SFQ" has no default rule"))
54
#define MSG_SPOOL_TYPEHASMORETHANONEDEFAULTRULE_SS _MESSAGE(59017, _("type definition "SFQ" in spooling context "SFQ" has more than one default rule"))
55
#define MSG_SPOOL_RULEALREADYEXISTS_SS _MESSAGE(59018, _("a rule named "SFQ" already exists in spooling context "SFQ))
56
#define MSG_SPOOL_TYPEALREADYHASDEFAULTRULE_S _MESSAGE(59019, _("spooling type "SFQ" already has a default rule, cannot add a second one"))
57
#define MSG_SPOOL_STARTUPOFRULEFAILED_SS _MESSAGE(59020, _("startup of rule "SFQ" in context "SFQ" failed"))
58
#define MSG_SPOOL_SHUTDOWNOFRULEFAILED_SS _MESSAGE(59021,_("shutdown of rule "SFQ" in context "SFQ" failed"))
59
#define MSG_SPOOL_MAINTENANCEOFRULEFAILED_SS _MESSAGE(59022,_("maintenance function of rule "SFQ" in context "SFQ" failed"))
60
#define MSG_SPOOL_TRIGGEROFRULEFAILED_SS _MESSAGE(59023,_("trigger function of rule "SFQ" in context "SFQ" failed"))
61
#define MSG_SPOOL_TRANSACTIONOFRULEFAILED_SS _MESSAGE(59024,_("transaction function of rule "SFQ" in context "SFQ" failed"))
62
#define MSG_SPOOL_SETOPTIONOFRULEFAILED_SS _MESSAGE(59025,_("set_option function of rule "SFQ" in context "SFQ" failed"))
64
* libs/spool/sge_spooling_utilities.c
66
#define MSG_DONTKNOWHOWTOSPOOLSUBLIST_SS _MESSAGE(59100, _("don't know how to spool list attribute "SFQ" in function "SFQ""))
67
#define MSG_UNKNOWNOBJECTTYPEFOR_SS _MESSAGE(59101, _("unknown object type for list attribute "SFQ" in function "SFQ))
68
#define MSG_NONAMEFORATTRIBUTE_D _MESSAGE(59103, _("no or invalid name for attribute %d"))
69
#define MSG_SPOOL_CANTRESOLVEHOSTNAME_SS _MESSAGE(59104, _("can't resolve host name "SFQ": "SFN))
72
* libs/spool/<method>/<code>
73
* messages common to different spooling methods
75
#define MSG_SPOOL_SPOOLINGOFXNOTSUPPORTED_S _MESSAGE(59900, _("(un)spooling objects of type "SFQ" not supported"))
76
#define MSG_ATTRIBUTENOTINOBJECT_S _MESSAGE(59901, _("attribute "SFQ" is not part of current object"))
77
#define MSG_CANTREADSUBLISTASPRIMARYKEYVALUEUNKNOWN_S _MESSAGE(59902, _("can't unspool sublist "SFQ" as primary key value is not (yet) known"))
78
#define MSG_CANTOPENTRANSACTIONALREADYOPEN _MESSAGE(59903, _("can't open a transaction - it is already open"))
79
#define MSG_CANTCLOSETRANSACTIONNONEOPEN _MESSAGE(59904, _("can't close a transaction - we have no transaction open"))
80
#define MSG_OBJECTWITHPRIMARYKEYUNKNOWN_S _MESSAGE(59905, _("object with primary key "SFQ" unknown to database spooling"))
81
#define MSG_PARENTKEYORIDNULL _MESSAGE(59906, _("required primary key or database id of the parent object is NULL"))
82
#define MSG_UNKNOWNTABLENAMEFORSUBLIST_S _MESSAGE(59907, _("table name unknown for sublist "SFN))
83
#define MSG_NOTABLENAMEPASSEDTO_S _MESSAGE(59908, _("no table_name passed to function "SFN))
84
#define MSG_UNKNOWNPREFIXORKEYNMFORTABLE_S _MESSAGE(59909, _("prefix or primary key unknown for table "SFN))
85
#define MSG_SPOOL_WRONGVERSION_SS _MESSAGE(59910, _("wrong version: database schema was created for version "SFQ", we run version "SFQ))
86
#endif /* __MSG_SPOOLLIB_H */