Director Error Messages

When a Director procedure is called, a record is kept of the procedure called and the value of the result returned. Subsequently, a process may use the procedures described here to interpret the result value and generate a meaningful error message.

Error Message Texts

%CONSTINTEGER TOPMESSAGE = 115 %CONSTSTRING(39)%ARRAY MESSAGE(0:TOPMESSAGE) = %C {..0} "Successful", {..1} "File too big or bad site", {..2} "Sconnect - bad parameters", {..3} "Alloc Dseg - no free segments", {..4} "Denable Terminal Stream fails", {..5} "File not available", {..6} "Use count on fsys negative", {..7} "No space for index", {..8} "Bad parameter", {..9} "Must allow 15 mins", {.10} "File system full", {.11} "Bad USER name", {.12} "Nkb must be 2 or 4 <= Nkb <= 32", {.13} "Name-number table (NNT) full", {.14} "User already has index on fsys", {.15} "No free file descriptors", {.16} "File already exists", {.17} "No free permission descriptors", {.18} "Invalid filename &", {.19} "Password truncated to 11 characters", {.20} "File & on offer", {.21} "File being executed", {.22} "Bits already clear for some pages", {.23} "Fsys not available", {.24} "error 24", {.25} "Disk transfer failed", {.26} "error 26", {.27} "File too big", {.28} "CBT freelist empty", {.29} "No free CONLIST entries", {.30} "error 30", {.31} "Ambiguous", {.32} "File & does not exist or no access", {.33} "Conflicting use of file & in another VM", {.34} "File is already connected", {.35} "Segment in use or GAP too small", {.36} "(De-)Nominate fails", {.37} "User & not known", {.38} "Already claimed", {.39} "File & is not connected", {.40} "File is connected", {.41} "Single file limit exceeded", {.42} "File is connected in another VM", {.43} "No free section descriptors", {.44} "DAP timed out", {.45} "User's parameters not accessible", {.46} "Bad permission", {.47} "Not enough stack", {.48} "TELL message rejected", {.49} "Permission list full (max 16)", {.50} "User(group) not in list", {.51} "OWNP is zero or no-destroy set", {.52} "File is connected in write mode", {.53} "No interrupt data", {.54} "No outward call set up", {.55} "System Call Table full", {.56} "Area crosses segment boundary", {.57} "End of session", {.58} "Bad parameter or RCB not accessible", {.59} "Archive index checksum failure", {.60} "Donate - user has no funds", {.61} "Process not available", {.62} "Max in DAP Claim Queue", {.63} "DAP not claimed at start", {.64} "DAP claim de-queued", {.65} "Bad Date/Time", {.66} "Close sequence cancelled", {.67} "Not claimed", {.68} "Failed to lock-down area", {.69} "CCK already done", {.70} "List is full", {.71} "No time left", {.72} "DAP not started", {.73} "DAP not available", {.74} "Not enough contiguous DAP blocks", {.75} "DAP closing", {.76} "User already has DAP", {.77} "Failed to claim archive semaphore", {.78} "Disconnect - cannot find file", {.79} "Area not locked", {.80} "Not in list", {.81} "LP is already MAIN", {.82} "Maximum areas already locked", {.83} "Total file space limit exceeded", {.84} "Restricted connect", {.85} "Fsys closing", {.86} "Failed to create and connect #msg", {.87} "Index corrupt", {.88} "Re-map fails", {.89} "Invalid file", {.90} "Maximum already allocated", {.91} "Block still active", {.92} "Interactive use not allowed", {.93} "User does not have privilege", {.94} "Failed to claim semaphore", {.95} "Cannot allocate main LP", {.96} "Password failure", {.97} "Bad page reported in NINDA", {.98} "Resources Scarce", {.99} "Obsolete index format encountered", {100} "Logged on", {101} "System Full", {102} "Logon Fails", {103} "Invalid Pass", {104} "Process Running", {105} "Invalid Name", {106} "Workfile Fail", {107} "No User Service", {108} "No Batch File", {109} "No Funds", {110} "User not found", {111} "FE closing", {112} "Node closing", {113} "TCP closing", {114} "Connected", {115} "???"

DFLAG

%externalintegerfn DFLAG(%integer FLAG, %stringname TXT) This procedure returns the text string associated with FLAG as described in the list above. The text returned is of the form: sp flag sp error-message

DERROR

%externalintegerfn DERROR(%stringname TXT) This procedure returns a string which describes the most recent call on a Director procedure. The text has the form: sp procedure-name sp flag sp error-message It is envisaged that sections of code could be written in the form: FLAG = DCONNECT(... -> FAIL %unless FLAG = 0 %or FLAG = 34 ... FAIL: J = DERROR(TXT) PRINTSTRING(TXT) NEWLINE %end