Class Definition Statement File Syntax Diagrams
This section describes the syntax for statements allowed within a CDS file. The
syntax is shown in BNF-like notation where the vertical bar (|) character
represents alternatives, and optional parts are contained within braces ({}).
*
* FILE CONTENT
*/
<file> ::= <statements> | /* empty */
<statements> ::=
<statement>
| <statement> <statements>
<statement> ::=
<mapdefault_statement>
| <class_statement>
/*
* MAP_DEFAULT STATEMENT
*/
<mapdefault_statement> ::=
MAP DEFAULT
<mapdef_statements>
END
<mapdef_statements> ::=
<mapdef_statement>
| <mapdef_statement> <mapdef_statements>
<mapdef_Statement> ::=
<attribute_name> ’=’ <constant> ’;’
| <attribute_name> ’=’ <keyword> ’;’
<attribute_name> ::+ <atom>
/*
* CLASS STATEMENT
*/
<class_statement> ::=
CLASS <class_name>
{ SELECT
<select_statements>
}
{ FETCH
<fetch_statements>
}
{
MAP
<map_statements>
}
END
<class_name> ::+
*DISCARD*
| <atom>
/*
* SELECT STATEMENT
*/
<select_statements> ::=
<select_statement>
| <select_statement> <select_statements>
<select_statement> ::=
<number>
’:’ <attr_decl>
{
’,’ <key_decl>
}
{
’,’ <value_decl>
}
’;’
| <number>
’:’ <keyword> ’=’ <v_op_val> ’;"
| <number>
’:’ <constant> ’=’ <v_op_val> ’;’
<attr_decl> ::=
ATTR ’(’ <a_op> ’,’ <a_op_val> ’)’
Appendix C. Class Definition Statement File Reference
161
Summary of Contents for Enterprise Console
Page 1: ...IBM Tivoli Enterprise Console Adapters Guide V ersion 3 8 GC32 0668 01...
Page 2: ......
Page 3: ...IBM Tivoli Enterprise Console Adapters Guide V ersion 3 8 GC32 0668 01...
Page 8: ...vi IBM Tivoli Enterprise Console Adapters Guide...
Page 66: ...54 IBM Tivoli Enterprise Console Adapters Guide...
Page 76: ...64 IBM Tivoli Enterprise Console Adapters Guide...
Page 90: ...78 IBM Tivoli Enterprise Console Adapters Guide...
Page 138: ...126 IBM Tivoli Enterprise Console Adapters Guide...
Page 156: ...144 IBM Tivoli Enterprise Console Adapters Guide...
Page 176: ...164 IBM Tivoli Enterprise Console Adapters Guide...
Page 180: ...168 IBM Tivoli Enterprise Console Adapters Guide...
Page 192: ...180 IBM Tivoli Enterprise Console Adapters Guide...
Page 193: ......
Page 194: ...Program Number 5698 TEC Printed in U S A GC32 0668 01...