Many of the routines in this chapter return an Error Code. The possible values and descriptions for these error codes are listed in the following table.
 
File Management Interface Error Codes
 

 
Error Code
 
Description
 
-1
 
File Not Found
 
-2
 
Open For Read Access
 
-3
 
Open For Write Access
 
-4
 
File Already Exists
 
-5
 
Invalid Filename
 
-6
 
Invalid Pathname
 
-7
 
File Not Found
 
-8
 
File Is On A Tape
 
-9
 
No Read Access
 
-10
 
No Owner Access
 
-11
 
No Supervisor Access
 
-12
 
Tape Volume Full
 
-13
 
Privilege Violation
 
-14
 
File Not Open
 
-15
 
Directory Not Empty
 
-16
 
File In Use
 
-17
 
User Already Logged On
 
-18
 
User Not Logged On
 
-19
 
Invalid Id/Password
 
-20
 
Directory Already Open
 
-21
 
File Not A Directory
 
-22
 
Too Many Files Open
 
-23
 
End Of File On Read
 
-24
 
User ID Not Found
 
-25
 
Bad Pointer
 
-26
 
User Already Exists
 
-27
 
User Not Supervisor
 
-28
 
Class Does Not Exist
 
-29
 
Disk I/O System Error
 
-30
 
Tape I/O Error
 
-31
 
Device Not A Tape
 
-32
 
IPC Error
 
-33
 
User Has Subordintes
 
-34
 
Can't Delete Yourself
 
-35
 
Invalid Character
 
-36
 
Physical File Exists
 
-37
 
Invalid String Length
 
-38
 
Invalid File Format
 
-39
 
Already Initialized
 
-40
 
UG File Access Error
 
-41
 
Unknown Operation
 
-42
 
Directory Not Found
 
-43
 
Verification Error
 
-44
 
Level Too Deep
 
-45
 
Only Volumes In Master
 
-46
 
Directory Offline
 
-47
 
Class List Full
 
-48
 
Class Already Exists
 
-49
 
Directory Revert
 
-50
 
Open Error
 
-51
 
Read Error
 
-52
 
Write Error
 
-53
 
Close Error
 
-54
 
Create Error
 
-55
 
Delete Error
 
-56
 
Fstat Error
 
-57
 
Append Error
 
-58
 
ACL Error
 
-59
 
System Error
Note: This can be any operating system error.
 
-60
 
Profile Tree Violation
 
-61
 
Disk Not Initialized
 
-62
 
Disk Mounted
 
-63
 
Directory Offline
 
-64
 
File Offline
 
-65
 
Volume Offline
 
-66
 
No Current Entry
 
-67
 
Already Initialized
 
-68
 
Queue Not Found
 
-69
 
Plotter Not Logged On
 
-70
 
Queue Full
 
-71
 
Job Not Found
 
-72
 
Already Plotting
 
-73
 
No Plot File Ready
 
-74
 
Volume Not Found
 
-75
 
Volume Write Protected
 
-76
 
Wrong Revision Number
 
-77
 
Bad Tape Vol. Name
 
-78
 
Bad Tape Block
 
-79
 
Tape Dir. Closed
 
-81
 
User Did Not Mount
 
-82
 
Invalid Volume Name
 
-83
 
Trace
 
-84
 
Nonnative Format
 
-85
 
Request Not Allowed
 
-87
 
No Such Node
 
-88
 
Node Busy
 
-89
 
Network Error
 
-96
 
Conversion Error
 
-98
 
Invalid Tape Density
 
-99
 
Other Users Logged On
 
-100
 
Tapes Dismounted
 
-101
 
Running Can't Init
 
-102
 
Active Job Was Stopped
 
-103
 
Process Creation Error
 
-104
 
Queue Not Stopped
 
-105
 
Plotter Process Down
 
-106
 
Plotter Not Stopped
 
-107
 
Plotter State Error
 
-108
 
Queue Closed
 
-109
 
Error - Current Job
 
-110
 
Queue Limit Exceeded
 
-111
 
Queue Not Empty
 
-112
 
Queue Already Exists
 
-119
 
Os File Access Error
 
-120
 
Disk Is Full
 
-121
 
Bad Parameter
 
-122
 
Out Of Memory
 
-123
 
Invalid Request
 
-127
 
Shadowing Error
 
-129
 
Job File Line Too Long
 
-130
 
Job Definition Error
 
-131
 
Parameter Mismatch
 
-132
 
Job File Access Error
 
-133
 
Submit Error
 
-135
 
Logins Disabled
 
-136
 
Fixup Required
 
-137
 
Files Open On Volume
 
-139
 
License Limit Exceeded
 
-140
 
ACS Error
 
-141
 
No Such Customer
 
-142
 
Not Initialized
 
-143
 
Parameter Too Big
 
-144
 
File System Dead
 
-145
 
No File System Defined
 
-146
 
Record Not Found
 
-147
 
Application Not Purchased
 
-148
 
Non-text Data Found
 
-149
 
Not A Text File
 
-150
 
Not A Part File
 
-151
 
No Write Access
 
-152
 
Invalid Editor File Number
 
-153
 
Editor File Not Initialized
 
-154
 
Editor File Is Full
 
-155
 
Invalid Or Missing Line Numbers
 
-156
 
Server Already Active
 
-157
 
Unexpected End Of File
 
-158
 
No More Records
 
-159
 
Invalid Key
 
-160
 
Bad Library File
 
-161
 
Corrupt Library File
 
-162
 
String Too Long
 
-163
 
Recursive User Exit
 
-164
 
Invalid Internal User Exit
 
-165
 
ACS License Needed To Run User Exit
 
-166
 
Listing Device Open Failure
 
-167
 
Arithmetic Error
 
-168
 
Cannot Load Application
 
-169
 
Wrong Application Revision
 
-170
 
Hardware Fault
 
-171
 
Filename Out Of Range
 
-172
 
Filespec Out Of Range
 
-173
 
Invalid File System Specified
 
-174
 
Invalid Open Mode
 
-175
 
Too Many Customers
 
-176
 
File Type Out Of Range
 
-177
 
Invalid Copy Mode
 
-178
 
invalid process id
 
-179
 
Cannot set aux status
 
-180
 
cannot get aux status
 
-181
 
operation failed
 
-182
 
illegal format
 
-183
 
part file is not V9 file