Error detail codes that may be notified when you call PowerBSORT from C language program are set in errdetail of BSRTREC structure. The following section explains the detailed codes and its meaning set in errdetail.
Error detail Code | Definition value of error detail code | Meaning |
---|---|---|
1 | BSERR_VL | |
2 | BSERR_LOAD | Error when loading PowerBSORT. |
3 | BSERR_DELETE | Error in an attempt to delete PowerBSORT from virtual storage. |
4 | BSERR_LMFAIL | License checkout failed. |
5 | BSERR_PRODUCT | PowerBSORT is not correctly installed. |
50 | BSERR_MEMSIZE | The specified memory size by bsrtopen function is too small. |
51 | BSERR_PASSMEM | Memory address range specified by bsrtopen function is not cleared by bsrtclse function. |
52 | BSERR_ALCMEM | Not enough PowerBSORT virtual storage working area is secured. |
53 | BSERR_MEMZERO | Bsrtopen function is not specifying the amount of virtual storage while specifying the address. |
54 | BSERR_MANYFILE | Too many input file paths specified by bsrtopen function. |
55 | BSERR_INFILETAB | Input file name table specified by bsrtopen function is invalid. |
56 | BSERR_BSRTPRIM | Error in BSRTPRIM information specified by bsrtopen function.
|
57 | BSERR_EXCLUSIVE | Functions mutually exclusive are specified.
|
59 | BSERR_KEYTAB | Error in key field.
|
60 | BSERR_SUMTAB | Error in summation field
|
61 | BSERR_DUPKEY | Key and summation field or the two summation fields are identical. |
62 | BSERR_UNSUPPORT | Unsupported option specified. |
63 | BSERR_SELTAB | Error in the selection field. |
64 | BSERR_RECONTAB | Error in the reconstruction field. |
65 | BSERR_FILESYS | The file system specified is not valid. |
66 | BSERR_SELSHRTREC | The selection field specified is not valid.
|
67 | BSERR_RCONSHRTREC | The reconstruction field specified is not valid.
|
68 | BSERR_OUTFILETAB | Error in output file table. |
69 | BSERR_BSRTOPT | BSRTOPT structure specified by bsrtopen function is incorrect. |
100 | BSERR_NOOPEN | Bsrtput, bsrtget or bsrtmrge function is in use before calling bsrtopen function. |
101 | BSERR_BSRTPUT | Bad usage in bsrtput function.
|
102 | BSERR_BSRTGET | Bad usage in bsrtget function.
|
103 | BSERR_BSRTMRGE | Bad usage in bsrtmrge function.
|
104 | BSERR_BSRTCLSE | Bsrtclse function is called in the middle of output process. |
110 | BSERR_NORECADR | There are no record address settings. |
111 | BSERR_RECLEN | Bad record length. |
114 | BSERR_NOTORDER | Input string for the merge option is not in line. |
115 | BSERR_OVERFLOW | The summation operation aborted due to overflow. |
116 | BSERR_SUMSHRTREC | The summation field specified is invalid.
|
117 | BSERR_NONLF | Line feed is missing at the end of record in text file. |
118 | BSERR_EXTSHRTREC | Record without key field is entered during inputting text record. |
119 | BSERR_SUMFIELD | Summation process will abort because invalid code was detected in field during text record summation. |
200 | BSERR_READFILE | Error occurred while reading record from file. |
201 | BSERR_WRITEFILE | Error occurred while writing record to file. |
202 | BSERR_FILEATTR | Bad file attribute. Failed to get file attribute. |
203 | BSERR_TEMPATTR | Temporary file attribute is invalid. Failed to get file attribute. |
204 | BSERR_FILEFORMAT | Bad file format.
|
205 | BSERR_SAMEFILE | Duplicate file path name.
|
206 | BSERR_RECFORM | Invalid record format.
|
207 | BSERR_FILERECLEN | Bad record length.
|
208 | BSERR_FILEOPEN | Error occurred when opening file. |
209 | BSERR_OPENMAX | Too many files are opened within process or system. Or the number of required temporary file exceeds the maximum. |
210 | BSERR_FILECLOSE | Error occurred when closing file. |
211 | BSERR_FILEIO | Data corruption due to media or software failure. |
212 | BSERR_TEMPSPACE | Not enough temporary file space. |
213 | BSERR_INCORE | Unable to perform in-core sort. |
214 | BSERR_TEMPCREAT | Unable to create temporary file. |
215 | BSERR_FILENONE | File specified for input or output does not exist. |
216 | BSERR_PERMIFILE | No permission to read the specified file for input. |
217 | BSERR_PERMOFILE | No permission to write to the specified file for output. |
218 | BSERR_PERMMFILE | No permission to write to the specified message file. |
219 | BSERR_PERMTFILE | No permission to write or read the specified temporary file. |
220 | BSERR_MSGSPACE | The message file size is insufficient. Output to the message file will interrupt. |
221 | BSERR_EXTRECLEN | Record length specified in bsrtopen function is invalid. |
222 | BSERR_STRFILEREC | When you specify ordinary file for input, record length cannot be omitted. |
223 | BSERR_CLSEARG | Bad bsrtclse function argument. |
224 | BSERR_WRITETEMP | Error occurred when writing to temporary file. |
225 | BSERR_READTEMP | Error occurred when reading temporary file. |
226 | BSERR_ENVAR | Environment variable setting is wrong. |
227 | BSERR_SUPFILE | Invalid startup file is specified. |
228 | BSERR_SUPFILVAR | The mistake is found in startup file. |
229 | BSERR_PERMSFILE | No permission to read the startup file. |
230 | BSERR_EUC | Unreasonable code is found in the key field or selection field. |
231 | BSERR_COBOL85 | File system error occurred.
|
232 | BSERR_SYMLINK | The number of symbolic link found while checking path name exceeds MAXSYMLINKS. |
233 | BSERR_NAMELONG | File path name is too long. |
234 | BSERR_NOTDIR | A path prefix component is not a directory. |
235 | BSERR_ISDIR | The specified path is a directory. |
236 | BSERR_OUTNOSPC | Running out of space left on the output device. |
237 | BSERR_FILEBIG | The file size exceeded the limit of process or the maximum file size. |
238 | BSERR_LIBC | System call or library function error. |
250 | BSERR_LOGICAL | Error occurred in PowerBSORT operation. |
Information
The definition value of the error details code is defined by header file (bsrt.h).