| - |
When exceptional conditions occur, the UD6/XML-IDF driver passes the following error codes and message to Uniface. Many of these errors are also reported with a message from the operating system that may give a stronger indication of what caused the condition to arise.
| not_implemented | -1001 | Uniface requested a function that is not implemented in this driver |
| not_capable | -1002 | Logon information is not available. |
| cant_open | -1003 | Cannot open file |
| cant_close | -1004 | Cannot close file |
| write_error | -5005 | Write error on file |
| read_error | -5006 | Read error on file |
| seek_error | -1007 | Seek error on file |
| read_eof | -5008 | End of File |
| cant_append | -1009 | Cannot append to file |
| cant_unlock | -1010 | Cannot unlock file |
| filenotexist | -1011 | File does not exist |
| update_error | -1012 | Update Error |
| at_eof | -1013 | At End of File, not attempting requested operation |
| realloc_error | -1014 | Could not increase buffer size. |
| read2many | -5015 | The record found in the file has more fields than Uniface indicates that it should have. |
| malloc_error | -1016 | Could not create buffer this size. |
| pkey_error | -1017 | Update Error - Primary key already exists. Use nokeycheck to turn this feature off. |
| not_implemented_pra | -1018 | Cannot implement this function when using PRA. Use nopra to turn this feature on. |
| delete_error | -1019 | Delete Error |
| seek_end_fail | -1020 | Failed to seek the end of a file (usually write) |
| demo_expired | -1021 | Maximum operations for demo exceeded, demo version of UD8/CSV is limited to 100 operations or a PRA of 100, whichever occurs first. |
| failhit_error | -1022 | Fetch failed while trying to find a hit (fetch mode 0). |
| notexist_error | -1023 | Fetch could not find a matching record. |
| getpos_error | -5024 | fgetpos returned an error. |
| begin_endrec_error | -1025 | Could not add beginning or end of record tag (usually realloc) |
| begin_endfld_error | -1026 | Could not add beginning or end or field tag (usually realloc) |
| writetrail_error | -1027 | Write error of trailer on file |
| read_nomatch | -1028 | Unexpected tag has no closing. |
| owrite_error | -5029 | Write error on overflow file (generic - any number of reasons) |
| nopra_joined | -1030 | Fetch by PRA not allowed for joined tables. |
| owrite_nostrt | -5031 | Write error on overflow file (no start) |
| owrite_nomtch | -5032 | Write error on overflow file (no match) |
| owrite_ffld | -5033 | Write error on overflow file (find final field) |
| owrite_data | -5034 | Write error on overflow file (find <data>) |
| owrite_datagt | -5035 | Write error on overflow file (find next tag after <data>) |
| owrite_wprec | -5036 | Write error on overflow file (fputs pRec) |
| owrite_wbkp | -5037 | Write error on overflow file (fputs backup) |
| cant_openj | -1038 | Cannot open joined file |
| cant_closej | -1039 | Cannot close joined file |
| compare_fail | -1040 | the record read does not match the WHERE LIST |
| badtag_error | -5041 | Read error on file, got bad tag |
| text_error | -5042 | Read error on file, got text |
| wrong_field | -5043 | Read error on file, wrong field |
| noent_error | -5044 | Read error on file, no entity, got field |
| stok_error | -5045 | Read error on file, strtok() |
| size_exceeded | -1046 | Size for parameter exceeded |
| dirlstfail | -1047 | Directory listing failed |
| nopolyserver | -1048 | Polyserver cannot be used with DEMO driver |
| mmfsearch | -1049 | MMF Search failed to find entity in file |
| mmfnouglyph | -1050 | Cannot store UGLYPH or UCSDIA when USYS$UD6_PARAMS=notrx. |
| no_write_lock | -1068 | Cannot re-open file for write / cannot lock. |
Also see MMF Errors .
When exceptional low level I/O and memory error conditions occur, the UD6/CMtool driver passes the following error codes and message directly to the Uniface message frame.
| Area | Message | |
| mmfpad | UD: MMF: | WARNING: Low Memory. (001) |
| openFileMMF | UD: MMF: | WARNING: Low Memory. (setvbuf) Can't buffer this file. |
| openFileMMF | UD: MMF: | WARNING: Low Memory. (007) |
| addCNX | UD: MMF: | Unexpected mode |
| addCNX | UD: MMF: | WARNING: Low Memory.(002) |
| addCNX | UD: MMF: | TableName Larger than expected !! |
| addCNX | UD: MMF: | WARNING: Low Memory. (003) |
| addCNX | UD: MMF: | WARNING: Low Memory. (setvbuf 1) Can't buffer this file. |
| mmfbackup | UD: MMF: | WARNING: Low Memory. (906) |
| mmfbackup | UD: MMF: | WARNING: Low Memory. (907) |
| flushToDisk | UD: MMF: | WARNING: Low Memory. (004) |
| flushToDisk | UD: MMF: | ERROR: No more file handles to write. |
| growTheFile | UD: MMF: | WARNING: Low Memory. (005) |
| addMMF | UD: MMF: | Commit now, number of open files nearing limit. |
| addMMF | UD: MMF: | WARNING: Low Memory. (006) |
| addMMF | UD: MMF: WARNING: Low Memory. (008) | |
| str2l | UD: MMF: | WARNING: Low Memory. (009) |
| UNABLE_TO_REOPENC | UD: MMF: | Unable to re-open file after commit. |
| UNABLE_TO_REOPENW | UD: MMF: | Unable to re-open %s (fp=%d) for write (mode:%s). |
| UNABLE_TO_REOPEN | UD: MMF: | Unable to re-open file (typically rollback). |
Also see UD6 Errors .
| $Revision: 1.11.4.3 $ $Date: 2003/09/16 17:52:00 $ | [zum Seitenanfang] |