Annotation of 42BSD/ingres/doc/error/02parser.nr, revision 1.1

1.1     ! root        1: .th PARSER ERROR 3/30/79
        !             2: .sh NAME
        !             3: Parser error message summary
        !             4: .sh SYNOPSIS
        !             5: Error numbers 2000 \- 2999.
        !             6: .sh DESCRIPTION
        !             7: The following errors can be generated
        !             8: by the parser.
        !             9: The parser reads your query
        !            10: and translates it into the appropriate internal form;
        !            11: thus,
        !            12: almost
        !            13: all of these errors indicate syntax or type conflict
        !            14: problems.
        !            15: .sh ERRORS
        !            16: .lp +8 8
        !            17: 2000   %0 errors were found in quel program
        !            18: .s3
        !            19: .lp +8 8
        !            20: 2100   line %0, Attribute \*a%1\*a not in relation \*a%2\*a
        !            21: .s3
        !            22: This indicates that in a given line of the executed workspace the
        !            23: indicated attribute name is not a domain in the indicated relation.
        !            24: .s3
        !            25: .lp +8 8
        !            26: 2103   line %0, Function type does not match type of attribute \*a%1\*a
        !            27: .s3
        !            28: This error will be returned if a function expecting numeric data
        !            29: is given a character string or vice versa.
        !            30: For example, it is
        !            31: illegal to take the SIN of a character domain.
        !            32: .s3
        !            33: .lp +8 8
        !            34: 2106   line %0, Data base utility command buffer overflow
        !            35: .s3
        !            36: This error will result if a utility command is too long for the
        !            37: buffer space allocated to it in the parser.
        !            38: You must shorten the
        !            39: command or recompile the parser.
        !            40: .s3
        !            41: .lp +8 8
        !            42: 2107   line %0, You are not allowed to update this relation: %1
        !            43: .s3
        !            44: This error will be returned if you attempt to update any system relation
        !            45: or secondary index
        !            46: directly in \s-2QUEL\s0 (such as the RELATION relation).
        !            47: Such operations which
        !            48: compromise the integrity of the data base are not allowed.
        !            49: .s3
        !            50: .lp +8 8
        !            51: 2108   line %0, Invalid result relation for APPEND \*a%1\*a
        !            52: .s3
        !            53: This error message will occur if you execute an append command to
        !            54: a relation that does not exist, or that you cannot access.  For
        !            55: example, append to junk( ... ) will fail if junk does not exist.
        !            56: .s3
        !            57: .lp +8 8
        !            58: 2109   line %0, Variable \*a%1\*a not declared in RANGE statement
        !            59: .s3
        !            60: Here, a symbol was used in a \s-2QUEL\s0 expression in a place where a
        !            61: tuple variable was expected and this symbol was not defined
        !            62: via a RANGE statement.
        !            63: .s3
        !            64: .lp +8 8
        !            65: 2111   line %0, Too many attributes in key for INDEX
        !            66: .s3
        !            67: A secondary index may have no more than 6 keys.
        !            68: .s3
        !            69: .lp +8 8
        !            70: 2117   line %0, Invalid relation name \*a%1\*a in RANGE statement
        !            71: .s3
        !            72: You are declaring a tuple variable which ranges over a relation which
        !            73: does not exist.
        !            74: .s3
        !            75: .lp +8 8
        !            76: 2118   line %0, Out of space in query tree - Query too long
        !            77: .s3
        !            78: You have the misfortune of creating a query which is too long for the
        !            79: parser to digest.
        !            80: The only options are to shorten the query
        !            81: or recompile the parser to have more buffer space for the query tree.
        !            82: .s3
        !            83: .lp +8 8
        !            84: 2119   line %0, MOD operator not defined for floating point
        !            85: or character attributes
        !            86: .s3
        !            87: The
        !            88: .it mod
        !            89: operator is only defined
        !            90: for integers.
        !            91: .s3
        !            92: .lp +8 8
        !            93: 2120   line %0, no pattern match operators allowed in the target list
        !            94: .s3
        !            95: Pattern match operators
        !            96: (such as ``*'')
        !            97: can only be used in a qualification.
        !            98: .s3
        !            99: .lp +8 8
        !           100: 2121   line %0, Only character type domains are allowed in CONCAT operator
        !           101: .s3
        !           102: .lp +8 8
        !           103: 2123   line %0, \*a%1.all\*a not defined for replace
        !           104: .s3
        !           105: .lp +8 8
        !           106: 2125   line %0, Cannot use aggregates ("avg" or "avgu") on character values
        !           107: .lp +8 8
        !           108: 2126   line %0, Cannot use aggregates ("sum" or "sumu") on character values
        !           109: .lp +8 8
        !           110: 2127   line %0, Cannot use numerical functions (ATAN, COS, GAMMA, LOG, SIN,
        !           111: SQRT, EXP, ABS) on character values
        !           112: .lp +8 8
        !           113: 2128   line %0, Cannot use unary operators ("+" or "\*-") on character values
        !           114: .lp +8 8
        !           115: 2129   line %0, Numeric operations (+ \*- * /) not allowed on character values
        !           116: .s3
        !           117: Many functions and operators
        !           118: are meaningless when applied to character values.
        !           119: .s3
        !           120: .lp +8 8
        !           121: 2130   line %0, Too many result domains in target list
        !           122: .s3
        !           123: Maximum number of result domains is MAXDOM (currently 49).
        !           124: .s3
        !           125: .lp +8 8
        !           126: 2132   line %0, Too many aggregates in this query
        !           127: .s3
        !           128: Maximum number of aggregates allowed in a query is MAXAGG (currently 49).
        !           129: .s3
        !           130: .lp +8 8
        !           131: 2133   line %0, Type conflict on relational operator
        !           132: .s3
        !           133: It is not legal
        !           134: to compare a character type
        !           135: to a numeric type.
        !           136: .s3
        !           137: .lp +8 8
        !           138: 2134   line %0, \*a%1\*a is not a constant operator.
        !           139: .br
        !           140: Only \*adba\*a or \*ausercode\*a are allowed.
        !           141: .s3
        !           142: .lp +8 8
        !           143: 2135   line %0, You cannot duplicate the name of an existing relation(%1)
        !           144: .s3
        !           145: You have tried to create a relation
        !           146: which would redefine an existing relation.
        !           147: Choose another name.
        !           148: .s3
        !           149: .lp +8 8
        !           150: 2136   line %0, There is no such hour as %1, use a 24 hour clock system
        !           151: .lp +8 8
        !           152: 2137   line %0, There is no such minute as %1, use a 24 hour clock system
        !           153: .lp +8 8
        !           154: 2138   line %0, There is no such time as 24:%1, use a 24 hour clock system
        !           155: .s3
        !           156: Errors 2136-38 indicate that you have used a bad time
        !           157: in a
        !           158: .it permit
        !           159: statement.
        !           160: Legal times are from 0:00 to 24:00 inclusive.
        !           161: .s3
        !           162: .lp +8 8
        !           163: 2139   line %0, Your database does not support query modification
        !           164: .s3
        !           165: You have tried to issue a query modification statement
        !           166: (\c
        !           167: .it define\c
        !           168: ),
        !           169: but the database was created with the
        !           170: .bd \-q
        !           171: flag.
        !           172: To use the facilities made available by query modification,
        !           173: you must say:
        !           174: .s3
        !           175:        creatdb \-e +q
        !           176: .it dbname
        !           177: .s3
        !           178: to the shell.
        !           179: .s3
        !           180: .lp +8 8
        !           181: 2500   line %0, The word '%1', cannot follow this command
        !           182: .s3
        !           183: A 2500 error is reported by the parser if it cannot otherwise classify the
        !           184: error.
        !           185: One common way to obtain this error is to omit the required
        !           186: parentheses around the target list.
        !           187: The parser reports the
        !           188: last symbol which was obtained from the scanner.
        !           189: Sometimes, the last
        !           190: symbol is far ahead of the actual place where the error occurred.
        !           191: The string "EOF" is used for the last symbol when
        !           192: the parser has read past the query.
        !           193: .s3
        !           194: .lp +8 8
        !           195: 2501   line %0, The word \*a%1\*a, cannot follow a RETRIEVE command
        !           196: .lp +8 8
        !           197: 2502   line %0, The word \*a%1\*a, cannot follow an APPEND command
        !           198: .lp +8 8
        !           199: 2503   line %0, The word \*a%1\*a, cannot follow a REPLACE command
        !           200: .lp +8 8
        !           201: 2504   line %0, The word \*a%1\*a, cannot follow a DELETE command
        !           202: .lp +8 8
        !           203: 2507   line %0, The word \*a%1\*a, cannot follow a DESTROY command
        !           204: .lp +8 8
        !           205: 2508   line %0, The word \*a%1\*a, cannot follow a HELP command
        !           206: .lp +8 8
        !           207: 2510   line %0, The word \*a%1\*a, cannot follow a MODIFY command
        !           208: .lp +8 8
        !           209: 2511   line %0, The word \*a%1\*a, cannot follow a PRINT command
        !           210: .lp +8 8
        !           211: 2515   line %0, The word \*a%1\*a, cannot follow a RETRIEVE UNIQUE command
        !           212: .lp +8 8
        !           213: 2516   line %0, The word \*a%1\*a, cannot follow a DEFINE VIEW command
        !           214: .lp +8 8
        !           215: 2519   line %0, The word \*a%1\*a, cannot follow a HELP VIEW, HELP INTEGRITY,
        !           216: or HELP PERMIT command
        !           217: .lp +8 8
        !           218: 2522   line %0, The word \*a%1\*a, cannot follow a DEFINE PERMIT command
        !           219: .lp +8 8
        !           220: 2523   line %0, The word \*a%1\*a, cannot follow a DEFINE INTEGRITY command
        !           221: .lp +8 8
        !           222: 2526   line %0, The word \*a%1\*a, cannot follow a DESTROY INTEGRITY or
        !           223: DESTROY PERMIT command
        !           224: .s3
        !           225: Errors 2502 through 2526 indicate that after an otherwise valid
        !           226: query, there was something which could not begin another
        !           227: command.
        !           228: The query was therefore aborted,
        !           229: since this could have been caused by misspelling
        !           230: .bd where
        !           231: or something equally as dangerous.
        !           232: .s3
        !           233: .lp +8 8
        !           234: 2600   syntax error on line %0
        !           235: .br
        !           236: last symbol read was: \*a%1\*a
        !           237: .lp +8 8
        !           238: 2601   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           239: .br
        !           240: RETRIEVE [[INTO]relname] (target_list) [WHERE qual]
        !           241: .br
        !           242: RETRIEVE UNIQUE (target_list) [WHERE qual]
        !           243: .lp +8 8
        !           244: 2602   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           245: .br
        !           246: APPEND [TO] relname (target_list) [WHERE qual]
        !           247: .lp +8 8
        !           248: 2603   line %0, Syntax error*a%1\*a, the correct syntax is:
        !           249: .br
        !           250: REPLACE tuple_variable (target_list) [WHERE qual]
        !           251: .lp +8 8
        !           252: 2604   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           253: .br
        !           254: DELETE tuple_variable [WHERE qual]
        !           255: .lp +8 8
        !           256: 2605   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           257: .br
        !           258: COPY relname (domname = format {, domname = format}) direction
        !           259: .q filename
        !           260: .lp +8 8
        !           261: 2606   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           262: .br
        !           263: CREATE  relname (domname1 = format{, domname2 = format})
        !           264: .lp +8 8
        !           265: 2607   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           266: .br
        !           267: DESTROY relname {, relname}
        !           268: .br
        !           269: DESTROY [PERMIT | INTEGRITY] relname [integer integer} | ALL]
        !           270: .lp +8 8
        !           271: 2609   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           272: .br
        !           273: INDEX ON relname IS indexname (domain1{, domain2})
        !           274: .lp +8 8
        !           275: 2610   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           276: .br
        !           277: MODIFY relname TO storage-structure [ON key1 [: sortord]
        !           278: .br
        !           279: [{, key2 [:sortorder]}]] [WHERE [FILLFACTOR = n] [, MINPAGES = n]
        !           280: [, MAXPAGES = n]]
        !           281: .lp +8 8
        !           282: 2611   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           283: .br
        !           284: PRINT relname{, relname}
        !           285: .lp +8 8
        !           286: 2612   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           287: .br
        !           288: RANGE OF variable IS relname
        !           289: .lp +8 8
        !           290: 2613   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           291: .br
        !           292: SAVE relname UNTIL month day year
        !           293: .lp +8 8
        !           294: 2614   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           295: .br
        !           296: DEFINE VIEW name (target list) [WHERE qual]
        !           297: .br
        !           298: DEFINE PERMIT oplist {ON|OF|TO} var [(attlist)] TO
        !           299: name [AT term] [FROM time TO time] [ON day TO day] [WHERE qual]
        !           300: .br
        !           301: DEFINE INTEGRITY ON var IS qual
        !           302: .lp +8 8
        !           303: 2615   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           304: .br
        !           305: RETRIEVE UNIQUE (target_list) [WHERE qual]
        !           306: .lp +8 8
        !           307: 2616   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           308: .br
        !           309: DEFINE VIEW name (target_list) [WHERE qual]
        !           310: .lp +8 8
        !           311: 2619   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           312: .br
        !           313: HELP VIEW relname[, relname]
        !           314: .br
        !           315: HELP PERMIT relname[, relname]
        !           316: .br
        !           317: HELP INTEGRITY relname[, relname]
        !           318: .lp +8 8
        !           319: 2622   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           320: .br
        !           321: DEFINE PERMIT oplist {ON|OF|TO} var [(attlist)] TO name [AT term]
        !           322: [FROM time TO time] [ON day TO day] [WHERE qual]
        !           323: .lp +8 8
        !           324: 2623   line %0, Syntax error on \*a%1\*a, the correct syntax is:
        !           325: .br
        !           326: DEFINE INTEGRITY ON var IS qual
        !           327: .s3
        !           328: Errors 2600 through 2623 are generated when a command's syntax has
        !           329: been violated.
        !           330: The correct syntax is given.
        !           331: If the command cannot be determined,
        !           332: error 2600 is given.
        !           333: .s3
        !           334: .lp +8 8
        !           335: 2700   line %0, non-terminated string
        !           336: .s3
        !           337: You have omitted the required string terminator (").
        !           338: .s3
        !           339: .lp +8 8
        !           340: 2701   line %0, string too long
        !           341: .s3
        !           342: Somehow, you have had the persistence or misfortune to enter a
        !           343: character string constant longer than 255 characters.
        !           344: .s3
        !           345: .lp +8 8
        !           346: 2702   line %0, invalid operator
        !           347: .s3
        !           348: You have entered a character
        !           349: which is not alphanumeric,
        !           350: but which is not a defined operator,
        !           351: for example, "?".
        !           352: .s3
        !           353: .lp +8 8
        !           354: 2703   line %0, Name too long \*a%1\*a
        !           355: .s3
        !           356: In \*(II relation names and domain names are limited to 12 characters.
        !           357: .s3
        !           358: .lp +8 8
        !           359: 2704   line %0, Out of space in symbol table - Query too long
        !           360: .s3
        !           361: Your query is too big
        !           362: to process.
        !           363: Try breaking it up
        !           364: with more
        !           365: .bd \ego
        !           366: commands.
        !           367: .s3
        !           368: .lp +8 8
        !           369: 2705   line %0, non-terminated comment
        !           370: .s3
        !           371: You have left off the comment terminator symbol
        !           372: (``\*(**/'').
        !           373: .s3
        !           374: .lp +8 8
        !           375: 2707   line %0, bad floating constant: %1
        !           376: .s3
        !           377: Either your floating constant was incorrectly
        !           378: specified or it was too large or too small.
        !           379: Currently, overflow and underflow are not
        !           380: checked.
        !           381: .s3
        !           382: .lp +8 8
        !           383: 2708   line %0, control character passed in pre-converted string
        !           384: .s3
        !           385: In \s-2EQUEL\s0 a control character became embedded in
        !           386: a string and was not caught until the scanner was
        !           387: processing it.
        !           388: .s3
        !           389: .lp +8 8
        !           390: 2709   line %0, buffer overflow in converting a number
        !           391: .s3
        !           392: Numbers cannot exceed 256 characters in length.
        !           393: This shouldn't become a problem until
        !           394: number formats in \*(II are
        !           395: increased greatly.
        !           396: .s3
        !           397: .lp +8 8
        !           398: 2800   line %0, yacc stack overflow in parsing query

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.