HP 3000 Manuals

convert3 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

convert3 Error Messages 

convert3 returns a result code to the calling program once it has
finished a run.  This 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
convert3 has terminated its run successfully and has reported no errors.
Any other number appearing as the first byte in the result code indicates
that convert3 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 11-1.  Error Message Identification 

--------------------------------------------------------------------
|              |              |                                    |
| 1st Byte In  | Result Value |             Error Type             |
| Result Code  | in Remaining |                                    |
|              |    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      | Dynamic stream error               |
|              |              |                                    |
--------------------------------------------------------------------

nn    = relevant RTS error number, see 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 word duplicated 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, then 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.  If
you receive one of these errors you can detect its specific cause by
looking through the parameter list in the list file.  If you did not
specify a list file, this parameter list is sent to the screen.



MPE/iX 5.0 Documentation