Ch 18. Error Messages [ COBOL/HP-UX Compatibility Guide for the Series 700 and 800 ] MPE/iX 5.0 Documentation
COBOL/HP-UX Compatibility Guide for the Series 700 and 800
Chapter 18 Error Messages
Errors Reported by convert5
convert5 returns a result code to the calling program once it has
finished a run. See Chapter 16 for details of the calling program. This
result code is in the form of a 3-byte number in ASCII format. If the
first byte of this number is a 0, it denotes that convert5 has terminated
its run successfully and has reported no errors. Any other number
appearing as the first byte in the result code indicates that convert5
has detected an error.
If an error is reported, the first byte of the result code indicates the
type of that error as shown in the table below.
Table 18-1. Error Message Identification
Table 18-1.
--------------------------------------------------------------------
| | | |
| 1st Byte | Result Value | Error Type |
| In Result | In Remaining | |
| Code | Bytes | |
| | | |
--------------------------------------------------------------------
| | | |
| 1 | nn | Print file error |
| | | |
| 2 | nn | Created file error |
| | | |
| 3 | nn | Source file error |
| | | |
| 4 | yy | File entries (SELECT...ASSIGN) |
| | | error |
| | | |
| 5 | | Record description (FD) error |
| | | |
| 6 | | Parameter description error |
| | | |
| 7 | nn | Memory error |
| | | |
--------------------------------------------------------------------
nn = the relevant Run-Time System error number; see your Error
Messages for details.
yy = one of the following:
01 Multiple assign clauses found in file control entry
02 Multiple reserve clauses found in file control entry
03 Multiple organization clauses found in file control entry
04 Multiple access clauses found in file control entry
05 Multiple record clauses found in file control entry
07 Multiple file status clauses found in file control entry
08 Key word expected in file control entry but word found was "xxx"
(where xxx is the actual word found)
10 External file name missing in assign statement
11 Data name defined in assign clause is a reserved word
12 Quote expected at end of external file-name
20 Non numeric entry in reserve clause
30 Organization type not found in organization clause
32 Inconsistent file control entry
40 Access mode not specified in access clause
41 Relative key is a reserved word in record clause
50 Record name is a reserved word in record clause
60 The word record expected in alternate key clause number
61 Data-name-3 is a reserved word in alternate record number
62 The words "with duplicates" expected in alternate record number
71 Data-name-4 is a reserved word in file status clause
90 Continuation found in file control section
If you receive an error code which starts with the number 5 or 6, it is
not followed by a number to identify a specific error. Instead, these
errors are of a general nature and merely indicate that an error has
occurred within the record description or the parameter description
respectively. If you receive one of these errors, you can detect its
specific cause by looking through the parameter list in the printfile.
If you did not specify a printfile, this parameter list is sent to the
screen.
MPE/iX 5.0 Documentation