Use these return codes in conjunction with their accompanying reason codes to determine the cause for problems or failures when calling the Public Catalog API.
Code | Description |
---|---|
0 | Success. |
4 | The catalog does not exist. A new catalog file is created.1 |
8 | Call completed with a warning; for example, when an insert is performed on a key that is already present, an update is performed instead. |
12 | A call attempted to delete a catalog record for a key that was not found. |
16 | Unsuccessful call. |
20 | Unsuccessful call due to a validation error. |
1 The new catalog file has the name and location defined in the environment variable MFSYSCAT. If you are running your program from Enterprise Server, MFSYSCAT is set by default. When running your program outside of Enterprise Server, you must set it manually. See Setting Environment Variables for more information. |