en:docs:dos:api:int21:59

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:docs:dos:api:int21:59 [2021/08/01 06:53] – created prokusheven:docs:dos:api:int21:59 [2024/05/03 06:44] (current) prokushev
Line 30: Line 30:
 ===== Notes ===== ===== Notes =====
  
-Notes: functions available under DOS 2.x map the true DOS 3.0+ error code into +functions available under DOS 2.x map the true DOS 3.0+ error code into one supported under DOS 2.x 
-   one supported under DOS 2.x + 
- you should call this function to retrieve the true error code when an +you should call this function to retrieve the true error code when an FCB or DOS 2.x call returns an error 
-   FCB or DOS 2.x call returns an error + 
- under DR DOS 5.0, this function does not use any of the DOS-internal +under DR DOS 5.0, this function does not use any of the DOS-internal stacks and may thus be called at any time 
-   stacks and may thus be called at any time+
  
-(Table 01680) 
 Values for DOS extended error code: Values for DOS extended error code:
----DOS 2.0+ --- + 
- 00h (0)   no error +---DOS 2.0+ --- || 
- 01h (1)   function number invalid +00h (0)  no error | 
- 02h (2)   file not found +01h (1)  function number invalid | 
- 03h (3)   path not found +02h (2)  file not found | 
- 04h (4)   too many open files (no handles available) +03h (3)  path not found | 
- 05h (5)   access denied +04h (4)  too many open files (no handles available) | 
- 06h (6)   invalid handle +05h (5)  access denied | 
- 07h (7)   memory control block destroyed +06h (6)  invalid handle | 
- 08h (8)   insufficient memory +07h (7)  memory control block destroyed | 
- 09h (9)   memory block address invalid +08h (8)  insufficient memory | 
- 0Ah (10)  environment invalid (usually >32K in length) +09h (9)  memory block address invalid | 
- 0Bh (11)  format invalid +0Ah (10) environment invalid (usually >32K in length) | 
- 0Ch (12)  access code invalid +0Bh (11) format invalid | 
- 0Dh (13)  data invalid +0Ch (12) access code invalid | 
- 0Eh (14)  reserved +0Dh (13) data invalid | 
- 0Eh (14)  (PTS-DOS 6.51+, S/DOS 1.0+) fixup overflow +0Eh (14) reserved | 
- 0Fh (15)  invalid drive +0Eh (14) (PTS-DOS 6.51+, S/DOS 1.0+) fixup overflow | 
- 10h (16)  attempted to remove current directory +0Fh (15) invalid drive | 
- 11h (17)  not same device +10h (16) attempted to remove current directory | 
- 12h (18)  no more files +11h (17) not same device | 
----DOS 3.0+ (INT 24 errors)--- +12h (18) no more files | 
- 13h (19)  disk write-protected +---DOS 3.0+ (INT 24 errors)--- || 
- 14h (20)  unknown unit +13h (19) disk write-protected | 
- 15h (21)  drive not ready +14h (20) unknown unit | 
- 16h (22)  unknown command +15h (21) drive not ready | 
- 17h (23)  data error (CRC) +16h (22) unknown command | 
- 18h (24)  bad request structure length +17h (23) data error (CRC) | 
- 19h (25)  seek error +18h (24) bad request structure length | 
- 1Ah (26)  unknown media type (non-DOS disk) +19h (25) seek error | 
- 1Bh (27)  sector not found +1Ah (26) unknown media type (non-DOS disk) | 
- 1Ch (28)  printer out of paper +1Bh (27) sector not found | 
- 1Dh (29)  write fault +1Ch (28) printer out of paper | 
- 1Eh (30)  read fault +1Dh (29) write fault | 
- 1Fh (31)  general failure +1Eh (30) read fault | 
- 20h (32)  sharing violation +1Fh (31) general failure | 
- 21h (33)  lock violation +20h (32) sharing violation | 
- 22h (34)  disk change invalid (ES:DI -> media ID structure)(see #01681) +21h (33) lock violation | 
- 23h (35)  FCB unavailable +22h (34) disk change invalid (ES:DI -> media ID structure)(see #01681) | 
- 23h (35)  (PTS-DOS 6.51+, S/DOS 1.0+) bad FAT +23h (35) FCB unavailable | 
- 24h (36)  sharing buffer overflow +23h (35) (PTS-DOS 6.51+, S/DOS 1.0+) bad FAT | 
- 25h (37)  (DOS 4.0+) code page mismatch +24h (36) sharing buffer overflow | 
- 26h (38)  (DOS 4.0+) cannot complete file operation (EOF / out of input) +25h (37) (DOS 4.0+) code page mismatch | 
- 27h (39)  (DOS 4.0+) insufficient disk space +26h (38) (DOS 4.0+) cannot complete file operation (EOF / out of input) | 
- 28h-31h   reserved +27h (39) (DOS 4.0+) insufficient disk space | 
----OEM network errors (INT 24)--- +28h-31h  reserved | 
- 32h (50)  network request not supported +---OEM network errors (INT 24)--- || 
- 33h (51)  remote computer not listening +32h (50) network request not supported | 
- 34h (52)  duplicate name on network +33h (51) remote computer not listening | 
- 35h (53)  network name not found +34h (52) duplicate name on network | 
- 36h (54)  network busy +35h (53) network name not found | 
- 37h (55)  network device no longer exists +36h (54) network busy | 
- 38h (56)  network BIOS command limit exceeded +37h (55) network device no longer exists | 
- 39h (57)  network adapter hardware error +38h (56) network BIOS command limit exceeded | 
- 3Ah (58)  incorrect response from network +39h (57) network adapter hardware error | 
- 3Bh (59)  unexpected network error +3Ah (58) incorrect response from network | 
- 3Ch (60)  incompatible remote adapter +3Bh (59) unexpected network error | 
- 3Dh (61)  print queue full +3Ch (60) incompatible remote adapter | 
- 3Eh (62)  queue not full +3Dh (61) print queue full | 
- 3Fh (63)  not enough space to print file +3Eh (62) queue not full | 
- 40h (64)  network name was deleted +3Fh (63) not enough space to print file | 
- 41h (65)  network: Access denied +40h (64) network name was deleted | 
-   (DOS 3.0+ [maybe 3.3+???]) codepage switching not possible +41h (65) network: Access denied (DOS 3.0+ [maybe 3.3+???]) codepage switching not possible (see also INT 21/AX=6602h,INT 2F/AX=AD42h) | 
-     (see also INT 21/AX=6602h,INT 2F/AX=AD42h) +42h (66) network device type incorrect | 
- 42h (66)  network device type incorrect +43h (67) network name not found | 
- 43h (67)  network name not found +44h (68) network name limit exceeded | 
- 44h (68)  network name limit exceeded +45h (69) network BIOS session limit exceeded | 
- 45h (69)  network BIOS session limit exceeded +46h (70) temporarily paused | 
- 46h (70)  temporarily paused +47h (71) network request not accepted | 
- 47h (71)  network request not accepted +48h (72) network print/disk redirection paused | 
- 48h (72)  network print/disk redirection paused +49h (73) network software not installed (LANtastic) invalid network version | 
- 49h (73)  network software not installed +4Ah (74) unexpected adapter close (LANtastic) account expired | 
-     (LANtastic) invalid network version +4Bh (75) (LANtastic) password expired | 
- 4Ah (74)  unexpected adapter close +4Ch (76) (LANtastic) login attempt invalid at this time | 
-     (LANtastic) account expired +4Dh (77) (LANtastic v3+) disk limit exceeded on network node | 
- 4Bh (75)  (LANtastic) password expired +4Eh (78) (LANtastic v3+) not logged in to network node | 
- 4Ch (76)  (LANtastic) login attempt invalid at this time +4Fh (79) reserved | 
- 4Dh (77)  (LANtastic v3+) disk limit exceeded on network node +---end of errors reportable via INT 24--- || 
- 4Eh (78)  (LANtastic v3+) not logged in to network node +50h (80) file exists | 
- 4Fh (79)  reserved +51h (81) (undoc) duplicated FCB | 
----end of errors reportable via INT 24--- +52h (82) cannot make directory | 
- 50h (80)  file exists +53h (83) fail on INT 24h | 
- 51h (81)  (undoc) duplicated FCB +---network-related errors (non-INT 24)--- || 
- 52h (82)  cannot make directory +54h (84) (DOS 3.3+) too many redirections / out of structures | 
- 53h (83)  fail on INT 24h +55h (85) (DOS 3.3+) duplicate redirection / already assigned | 
----network-related errors (non-INT 24)--- +56h (86) (DOS 3.3+) invalid password | 
- 54h (84)  (DOS 3.3+) too many redirections / out of structures +57h (87) (DOS 3.3+) invalid parameter | 
- 55h (85)  (DOS 3.3+) duplicate redirection / already assigned +58h (88) (DOS 3.3+) network write fault | 
- 56h (86)  (DOS 3.3+) invalid password +59h (89) (DOS 4.0+) function not supported on network / no process slots available | 
- 57h (87)  (DOS 3.3+) invalid parameter +5Ah (90) (DOS 4.0+) required system component not installed / not frozen | 
- 58h (88)  (DOS 3.3+) network write fault +5Bh (91) (DOS 4.0+,NetWare4) timer server table overflowed | 
- 59h (89)  (DOS 4.0+) function not supported on network / no process slots +5Ch (92) (DOS 4.0+,NetWare4) duplicate in timer service table | 
-       available +5Dh (93) (DOS 4.0+,NetWare4) no items to work on | 
- 5Ah (90)  (DOS 4.0+) required system component not installed / not frozen +5Fh (95) (DOS 4.0+,NetWare4) interrupted / invalid system call | 
- 5Bh (91)  (DOS 4.0+,NetWare4) timer server table overflowed +64h (100) (MSCDEX) unknown error | 
- 5Ch (92)  (DOS 4.0+,NetWare4) duplicate in timer service table +64h (100) (DOS 4.0+,NetWare4) open semaphore limit exceeded | 
- 5Dh (93)  (DOS 4.0+,NetWare4) no items to work on +65h (101) (MSCDEX) not ready | 
- 5Fh (95)  (DOS 4.0+,NetWare4) interrupted / invalid system call +65h (101) (DOS 4.0+,NetWare4) exclusive semaphore is already owned | 
- 64h (100) (MSCDEX) unknown error +66h (102) (MSCDEX) EMS memory no longer valid | 
- 64h (100) (DOS 4.0+,NetWare4) open semaphore limit exceeded +66h (102) (DOS 4.0+,NetWare4) semaphore was set when close attempted | 
- 65h (101) (MSCDEX) not ready +67h (103) (MSCDEX) not High Sierra or ISO-9660 format | 
- 65h (101) (DOS 4.0+,NetWare4) exclusive semaphore is already owned +67h (103) (DOS 4.0+,NetWare4) too many exclusive semaphore requests | 
- 66h (102) (MSCDEX) EMS memory no longer valid +68h (104) (MSCDEX) door open | 
- 66h (102) (DOS 4.0+,NetWare4) semaphore was set when close attempted +68h (104) (DOS 4.0+,NetWare4) operation invalid from interrupt handler | 
- 67h (103) (MSCDEX) not High Sierra or ISO-9660 format +69h (105) (DOS 4.0+,NetWare4) semaphore owner died | 
- 67h (103) (DOS 4.0+,NetWare4) too many exclusive semaphore requests +6Ah (106) (DOS 4.0+,NetWare4) semaphore limit exceeded | 
- 68h (104) (MSCDEX) door open +6Bh (107) (DOS 4.0+,NetWare4) insert drive B: disk into A: / disk changed | 
- 68h (104) (DOS 4.0+,NetWare4) operation invalid from interrupt handler +6Ch (108) (DOS 4.0+,NetWare4) drive locked by another process | 
- 69h (105) (DOS 4.0+,NetWare4) semaphore owner died +6Dh (109) (DOS 4.0+,NetWare4) broken pipe | 
- 6Ah (106) (DOS 4.0+,NetWare4) semaphore limit exceeded +6Eh (110) (DOS 5.0+,NetWare4) pipe open/create failed | 
- 6Bh (107) (DOS 4.0+,NetWare4) insert drive B: disk into A: / disk changed +6Fh (111) (DOS 5.0+,NetWare4) pipe buffer overflowed | 
- 6Ch (108) (DOS 4.0+,NetWare4) drive locked by another process +70h (112) (DOS 5.0+,NetWare4) disk full | 
- 6Dh (109) (DOS 4.0+,NetWare4) broken pipe +71h (113) (DOS 5.0+,NetWare4) no more search handles | 
- 6Eh (110) (DOS 5.0+,NetWare4) pipe open/create failed +72h (114) (DOS 5.0+,NetWare4) invalid target handle for dup2 | 
- 6Fh (111) (DOS 5.0+,NetWare4) pipe buffer overflowed +73h (115) (DOS 5.0+,NetWare4) bad user virtual address / protection violation | 
- 70h (112) (DOS 5.0+,NetWare4) disk full +74h (116) (DOS 5.0+) VIOKBD request | 
- 71h (113) (DOS 5.0+,NetWare4) no more search handles +74h (116) (NetWare4) error on console I/O | 
- 72h (114) (DOS 5.0+,NetWare4) invalid target handle for dup2 +75h (117) (DOS 5.0+,NetWare4) unknown category code for IOCTL | 
- 73h (115) (DOS 5.0+,NetWare4) bad user virtual address / protection violation +76h (118) (DOS 5.0+,NetWare4) invalid value for verify flag | 
- 74h (116) (DOS 5.0+) VIOKBD request +77h (119) (DOS 5.0+,NetWare4) level four driver not found by DOS IOCTL | 
- 74h (116) (NetWare4) error on console I/O +78h (120) (DOS 5.0+,NetWare4) invalid / unimplemented function number | 
- 75h (117) (DOS 5.0+,NetWare4) unknown category code for IOCTL +79h (121) (DOS 5.0+,NetWare4) semaphore timeout | 
- 76h (118) (DOS 5.0+,NetWare4) invalid value for verify flag +7Ah (122) (DOS 5.0+,NetWare4) buffer too small to hold return data | 
- 77h (119) (DOS 5.0+,NetWare4) level four driver not found by DOS IOCTL +7Bh (123) (DOS 5.0+,NetWare4) invalid character or bad file-system name | 
- 78h (120) (DOS 5.0+,NetWare4) invalid / unimplemented function number +7Ch (124) (DOS 5.0+,NetWare4) unimplemented information level | 
- 79h (121) (DOS 5.0+,NetWare4) semaphore timeout +7Dh (125) (DOS 5.0+,NetWare4) no volume label found | 
- 7Ah (122) (DOS 5.0+,NetWare4) buffer too small to hold return data +7Eh (126) (DOS 5.0+,NetWare4) module handle not found | 
- 7Bh (123) (DOS 5.0+,NetWare4) invalid character or bad file-system name +7Fh (127) (DOS 5.0+,NetWare4) procedure address not found | 
- 7Ch (124) (DOS 5.0+,NetWare4) unimplemented information level +80h (128) (DOS 5.0+,NetWare4) CWait found no children | 
- 7Dh (125) (DOS 5.0+,NetWare4) no volume label found +81h (129) (DOS 5.0+,NetWare4) CWait children still running | 
- 7Eh (126) (DOS 5.0+,NetWare4) module handle not found +82h (130) (DOS 5.0+,NetWare4) invalid operation for direct disk-access handle | 
- 7Fh (127) (DOS 5.0+,NetWare4) procedure address not found +83h (131) (DOS 5.0+,NetWare4) attempted seek to negative offset | 
- 80h (128) (DOS 5.0+,NetWare4) CWait found no children +84h (132) (DOS 5.0+,NetWare4) attempted to seek on device or pipe | 
- 81h (129) (DOS 5.0+,NetWare4) CWait children still running +---JOIN/SUBST errors--- || 
- 82h (130) (DOS 5.0+,NetWare4) invalid operation for direct disk-access handle +85h (133) (DOS 5.0+,NetWare4) drive already has JOINed drives | 
- 83h (131) (DOS 5.0+,NetWare4) attempted seek to negative offset +86h (134) (DOS 5.0+,NetWare4) drive is already JOINed | 
- 84h (132) (DOS 5.0+,NetWare4) attempted to seek on device or pipe +87h (135) (DOS 5.0+,NetWare4) drive is already SUBSTed | 
----JOIN/SUBST errors--- +88h (136) (DOS 5.0+,NetWare4) can not delete drive which is not JOINed | 
- 85h (133) (DOS 5.0+,NetWare4) drive already has JOINed drives +89h (137) (DOS 5.0+,NetWare4) can not delete drive which is not SUBSTed | 
- 86h (134) (DOS 5.0+,NetWare4) drive is already JOINed +8Ah (138) (DOS 5.0+,NetWare4) can not JOIN to a JOINed drive | 
- 87h (135) (DOS 5.0+,NetWare4) drive is already SUBSTed +8Bh (139) (DOS 5.0+,NetWare4) can not SUBST to a SUBSTed drive | 
- 88h (136) (DOS 5.0+,NetWare4) can not delete drive which is not JOINed +8Ch (140) (DOS 5.0+,NetWare4) can not JOIN to a SUBSTed drive | 
- 89h (137) (DOS 5.0+,NetWare4) can not delete drive which is not SUBSTed +8Dh (141) (DOS 5.0+,NetWare4) can not SUBST to a JOINed drive | 
- 8Ah (138) (DOS 5.0+,NetWare4) can not JOIN to a JOINed drive +8Eh (142) (DOS 5.0+,NetWare4) drive is busy | 
- 8Bh (139) (DOS 5.0+,NetWare4) can not SUBST to a SUBSTed drive +8Fh (143) (DOS 5.0+,NetWare4) can not JOIN/SUBST to same drive | 
- 8Ch (140) (DOS 5.0+,NetWare4) can not JOIN to a SUBSTed drive +90h (144) (DOS 5.0+,NetWare4) directory must not be root directory | 
- 8Dh (141) (DOS 5.0+,NetWare4) can not SUBST to a JOINed drive +91h (145) (DOS 5.0+,NetWare4) can only JOIN to empty directory | 
- 8Eh (142) (DOS 5.0+,NetWare4) drive is busy +92h (146) (DOS 5.0+,NetWare4) path is already in use for SUBST | 
- 8Fh (143) (DOS 5.0+,NetWare4) can not JOIN/SUBST to same drive +93h (147) (DOS 5.0+,NetWare4) path is already in use for JOIN | 
- 90h (144) (DOS 5.0+,NetWare4) directory must not be root directory +94h (148) (DOS 5.0+,NetWare4) path is in use by another process | 
- 91h (145) (DOS 5.0+,NetWare4) can only JOIN to empty directory +95h (149) (DOS 5.0+,NetWare4) directory previously SUBSTituted | 
- 92h (146) (DOS 5.0+,NetWare4) path is already in use for SUBST +96h (150) (DOS 5.0+,NetWare4) system trace error | 
- 93h (147) (DOS 5.0+,NetWare4) path is already in use for JOIN +97h (151) (DOS 5.0+,NetWare4) invalid event count for DosMuxSemWait | 
- 94h (148) (DOS 5.0+,NetWare4) path is in use by another process +98h (152) (DOS 5.0+,NetWare4) too many waiting on mutex | 
- 95h (149) (DOS 5.0+,NetWare4) directory previously SUBSTituted +99h (153) (DOS 5.0+,NetWare4) invalid list format | 
- 96h (150) (DOS 5.0+,NetWare4) system trace error +9Ah (154) (DOS 5.0+,NetWare4) volume label too large | 
- 97h (151) (DOS 5.0+,NetWare4) invalid event count for DosMuxSemWait +9Bh (155) (DOS 5.0+,NetWare4) unable to create another TCB | 
- 98h (152) (DOS 5.0+,NetWare4) too many waiting on mutex +9Ch (156) (DOS 5.0+,NetWare4) signal refused | 
- 99h (153) (DOS 5.0+,NetWare4) invalid list format +9Dh (157) (DOS 5.0+,NetWare4) segment discarded | 
- 9Ah (154) (DOS 5.0+,NetWare4) volume label too large +9Eh (158) (DOS 5.0+,NetWare4) segment not locked | 
- 9Bh (155) (DOS 5.0+,NetWare4) unable to create another TCB +9Fh (159) (DOS 5.0+,NetWare4) invalid thread-ID address | 
- 9Ch (156) (DOS 5.0+,NetWare4) signal refused +----- || 
- 9Dh (157) (DOS 5.0+,NetWare4) segment discarded +A0h (160) (DOS 5.0+) bad arguments | 
- 9Eh (158) (DOS 5.0+,NetWare4) segment not locked +A0h (160) (NetWare4) bad environment pointer | 
- 9Fh (159) (DOS 5.0+,NetWare4) invalid thread-ID address +A1h (161) (DOS 5.0+,NetWare4) invalid pathname passed to EXEC | 
------ +A2h (162) (DOS 5.0+,NetWare4) signal already pending | 
- A0h (160) (DOS 5.0+) bad arguments +A3h (163) (DOS 5.0+) uncertain media | 
- A0h (160) (NetWare4) bad environment pointer +A3h (163) (NetWare4) ERROR_124 mapping | 
- A1h (161) (DOS 5.0+,NetWare4) invalid pathname passed to EXEC +A4h (164) (DOS 5.0+) maximum number of threads reached | 
- A2h (162) (DOS 5.0+,NetWare4) signal already pending +A4h (164) (NetWare4) no more process slots | 
- A3h (163) (DOS 5.0+) uncertain media +A5h (165) (NetWare4) ERROR_124 mapping | 
- A3h (163) (NetWare4) ERROR_124 mapping +B0h (176) (MS-DOS 7.0) volume is not locked | 
- A4h (164) (DOS 5.0+) maximum number of threads reached +B1h (177) (MS-DOS 7.0) volume is locked in drive | 
- A4h (164) (NetWare4) no more process slots +B2h (178) (MS-DOS 7.0) volume is not removable | 
- A5h (165) (NetWare4) ERROR_124 mapping +B4h (180) (MS-DOS 7.0) lock count has been exceeded | 
- B0h (176) (MS-DOS 7.0) volume is not locked +B4h (180) (NetWare4) invalid segment number | 
- B1h (177) (MS-DOS 7.0) volume is locked in drive +B5h (181) (MS-DOS 7.0) a valid eject request failed | 
- B2h (178) (MS-DOS 7.0) volume is not removable +B5h (181) (DOS 5.0-6.0,NetWare4) invalid call gate | 
- B4h (180) (MS-DOS 7.0) lock count has been exceeded +B6h (182) (DOS 5.0+,NetWare4) invalid ordinal | 
- B4h (180) (NetWare4) invalid segment number +B7h (183) (DOS 5.0+,NetWare4) shared segment already exists | 
- B5h (181) (MS-DOS 7.0) a valid eject request failed +B8h (184) (DOS 5.0+,NetWare4) no child process to wait for | 
- B5h (181) (DOS 5.0-6.0,NetWare4) invalid call gate +B9h (185) (DOS 5.0+,NetWare4) NoWait specified and child still running | 
- B6h (182) (DOS 5.0+,NetWare4) invalid ordinal +BAh (186) (DOS 5.0+,NetWare4) invalid flag number | 
- B7h (183) (DOS 5.0+,NetWare4) shared segment already exists +BBh (187) (DOS 5.0+,NetWare4) semaphore does not exist | 
- B8h (184) (DOS 5.0+,NetWare4) no child process to wait for +BCh (188) (DOS 5.0+,NetWare4) invalid starting code segment | 
- B9h (185) (DOS 5.0+,NetWare4) NoWait specified and child still running +BDh (189) (DOS 5.0+,NetWare4) invalid stack segment | 
- BAh (186) (DOS 5.0+,NetWare4) invalid flag number +BEh (190) (DOS 5.0+,NetWare4) invalid module type (DLL can not be used as application) | 
- BBh (187) (DOS 5.0+,NetWare4) semaphore does not exist +BFh (191) (DOS 5.0+,NetWare4) invalid EXE signature | 
- BCh (188) (DOS 5.0+,NetWare4) invalid starting code segment +C0h (192) (DOS 5.0+,NetWare4) EXE marked invalid | 
- BDh (189) (DOS 5.0+,NetWare4) invalid stack segment +C1h (193) (DOS 5.0+,NetWare4) bad EXE format (e.g. DOS-mode program) | 
- BEh (190) (DOS 5.0+,NetWare4) invalid module type (DLL can not be used as +C2h (194) (DOS 5.0+,NetWare4) iterated data exceeds 64K | 
-       application) +C3h (195) (DOS 5.0+,NetWare4) invalid minimum allocation size | 
- BFh (191) (DOS 5.0+,NetWare4) invalid EXE signature +C4h (196) (DOS 5.0+,NetWare4) dynamic link from invalid Ring | 
- C0h (192) (DOS 5.0+,NetWare4) EXE marked invalid +C5h (197) (DOS 5.0+,NetWare4) IOPL not enabled | 
- C1h (193) (DOS 5.0+,NetWare4) bad EXE format (e.g. DOS-mode program) +C6h (198) (DOS 5.0+,NetWare4) invalid segment descriptor privilege level | 
- C2h (194) (DOS 5.0+,NetWare4) iterated data exceeds 64K +C7h (199) (DOS 5.0+,NetWare4) automatic data segment exceeds 64K | 
- C3h (195) (DOS 5.0+,NetWare4) invalid minimum allocation size +C8h (200) (DOS 5.0+,NetWare4) Ring2 segment must be moveable | 
- C4h (196) (DOS 5.0+,NetWare4) dynamic link from invalid Ring +C9h (201) (DOS 5.0+,NetWare4) relocation chain exceeds segment limit | 
- C5h (197) (DOS 5.0+,NetWare4) IOPL not enabled +CAh (202) (DOS 5.0+,NetWare4) infinite loop in relocation chain | 
- C6h (198) (DOS 5.0+,NetWare4) invalid segment descriptor privilege level +CBh (203) (NetWare4) environment variable not found | 
- C7h (199) (DOS 5.0+,NetWare4) automatic data segment exceeds 64K +CCh (204) (NetWare4) not current country | 
- C8h (200) (DOS 5.0+,NetWare4) Ring2 segment must be moveable +CDh (205) (NetWare4) no signal sent | 
- C9h (201) (DOS 5.0+,NetWare4) relocation chain exceeds segment limit +CEh (206) (NetWare4) file name not 8.3 | 
- CAh (202) (DOS 5.0+,NetWare4) infinite loop in relocation chain +CFh (207) (NetWare4) Ring2 stack in use | 
- CBh (203) (NetWare4) environment variable not found +D0h (208) (NetWare4) meta expansion is too long | 
- CCh (204) (NetWare4) not current country +D1h (209) (NetWare4) invalid signal number | 
- CDh (205) (NetWare4) no signal sent +D2h (210) (NetWare4) inactive thread | 
- CEh (206) (NetWare4) file name not 8.3 +D3h (211) (NetWare4) file system information not available | 
- CFh (207) (NetWare4) Ring2 stack in use +D4h (212) (NetWare4) locked error | 
- D0h (208) (NetWare4) meta expansion is too long +D5h (213) (NetWare4) attempted to execute non-family API call in DOS mode | 
- D1h (209) (NetWare4) invalid signal number +D6h (214) (NetWare4) too many modules | 
- D2h (210) (NetWare4) inactive thread +D7h (215) (NetWare4) nesting not allowed | 
- D3h (211) (NetWare4) file system information not available +E6h (230) (NetWare4) non-existent pipe, or bad operation | 
- D4h (212) (NetWare4) locked error +E7h (231) (NetWare4) pipe is busy | 
- D5h (213) (NetWare4) attempted to execute non-family API call in DOS mode +E8h (232) (NetWare4) no data available for nonblocking read | 
- D6h (214) (NetWare4) too many modules +E9h (233) (NetWare4) pipe disconnected by server | 
- D7h (215) (NetWare4) nesting not allowed +EAh (234) (NetWare4) more data available | 
- E6h (230) (NetWare4) non-existent pipe, or bad operation +FFh (255) (NetWare4) invalid drive 
- E7h (231) (NetWare4) pipe is busy +
- E8h (232) (NetWare4) no data available for nonblocking read +
- E9h (233) (NetWare4) pipe disconnected by server +
- EAh (234) (NetWare4) more data available +
- FFh (255) (NetWare4) invalid drive+
 Note: there is a report that some Microsoft documentation shifts all DOS Note: there is a report that some Microsoft documentation shifts all DOS
    error codes in the range BCh (188) through CAh (202) up by one    error codes in the range BCh (188) through CAh (202) up by one
    compared to what is listed here; that is probably a documentation    compared to what is listed here; that is probably a documentation
    error    error
 +
 SeeAlso: #01682,#01683,#01684,#01961 SeeAlso: #01682,#01683,#01684,#01961
  
 Format of media ID structure: Format of media ID structure:
-Offset Size Description (Table 01681) + 
- 00h 12 BYTEs ASCIZ volume label of required disk +Offset Size Description ^ 
- 0Ch DWORD serial number (DOS 4.0+)+00h 12 BYTEs ASCIZ volume label of required disk | 
 +0Ch DWORD serial number (DOS 4.0+) 
 SeeAlso: #01680 SeeAlso: #01680
  
-(Table 01682)+
 Values for DOS Error Class: Values for DOS Error Class:
- 01h (1)  out of resource (storage space or I/O channels) +01h (1) out of resource (storage space or I/O channels) | 
- 02h (2)  temporary situation (file or record lock) +02h (2) temporary situation (file or record lock) | 
- 03h (3)  authorization / permission problem (denied access) +03h (3) authorization / permission problem (denied access) | 
- 04h (4)  internal system error (system software bug) +04h (4) internal system error (system software bug) | 
- 05h (5)  hardware failure +05h (5) hardware failure | 
- 06h (6)  system failure (configuration file missing or incorrect) +06h (6) system failure (configuration file missing or incorrect) | 
- 07h (7)  application program error +07h (7) application program error | 
- 08h (8)  not found +08h (8) not found | 
- 09h (9)  bad format +09h (9) bad format | 
- 0Ah (10) locked +0Ah (10) locked | 
- 0Bh (11) media error +0Bh (11) media error | 
- 0Ch (12) already exists / collision with existing item +0Ch (12) already exists / collision with existing item | 
- 0Dh (13) unknown / other +0Dh (13) unknown / other | 
- 0Eh (14) (undoc) cannot +0Eh (14) (undoc) cannot | 
- 0Fh (15) (undoc) time+0Fh (15) (undoc) time |
 SeeAlso: #01680,#01683,#01684 SeeAlso: #01680,#01683,#01684
  
 (Table 01683) (Table 01683)
 Values for DOS Suggested Action: Values for DOS Suggested Action:
- 01h retry +01h retry | 
- 02h delayed retry (after pause) +02h delayed retry (after pause) | 
- 03h prompt user to reenter input +03h prompt user to reenter input | 
- 04h abort after cleanup +04h abort after cleanup | 
- 05h immediate abort ("panic"+05h immediate abort ("panic"| 
- 06h ignore +06h ignore | 
- 07h retry after user intervention+07h retry after user intervention |
 SeeAlso: #01680,#01682,#01684 SeeAlso: #01680,#01682,#01684
  
-(Table 01684)+
 Values for DOS Error Locus: Values for DOS Error Locus:
- 01h unknown or not appropriate +01h unknown or not appropriate | 
- 02h block device (disk error) +02h block device (disk error) | 
- 03h network related +03h network related | 
- 04h serial device (timeout) +04h serial device (timeout) | 
- 04h (PTS-DOS 6.51+ & S/DOS 1.0+) character device +04h (PTS-DOS 6.51+ & S/DOS 1.0+) character device | 
- 05h memory related+05h memory related |
  
                      
 ===== See also ===== ===== See also =====
  
-  AH=59h/BX=0001h,AX=5D0Ah,INT 2F/AX=122Dh,INT 24+AH=[[en:docs:dos:api:int21:59|59h]]/BX=0001h,AX=en:docs:dos:api:int21:5d:0a|5D0Ah]],INT 2F/AX=122Dh,INT 24
      
 ===== Note ===== ===== Note =====