Return Codes for RDML data base access commands
| Date: | Archived |
|---|---|
| Product/Release: | LANSA - All Platforms |
| Abstract: | Return codes for the various LANSA data base access commands |
| Submitted By: | LANSA Technical Support |
The following table lists return codes for RDML data base access commands in LANSA:
| Return Codes | ||||
|---|---|---|---|---|
| Command | Error | Validation Error | Not Found | Completed |
| OPEN | ER | OK | ||
| CLOSE | ER | OK | ||
| INSERT | ER | VE(a)(b) | OK | |
| UPDATE | ER | VE(a) | NR | OK |
| DELETE | ER | VE | NR | OK |
| FETCH | ER | NR | OK | |
| SELECT | ER | EF(c) | OK | |
| FILECHECK | NE | EQ | ||
| CHECK_FOR | NE | EQ | ||
| COMMIT | ER | OK | ||
| ROLLBACK | ER | OK | ||
- Also duplicate key
- Also insufficient information to write record - i.e missing key(s)
- Also logical end of file (EOF) - i.e using a key and there are no more records that match the key.