This document covers the following topics:
Erase a document.
When the Deletion-flag is blank, the document is moved to the Wastebasket of the cabinet. When the Deletion-flag is marked, the document is erased from Con-nect and cannot be recovered.
Parameter | Format | In | Out | Remarks |
---|---|---|---|---|
Return-code | N2 | O | X | Input -1: no ET. |
Cabinet | A8 | R | The cabinet in which the document is to be erased. | |
Password | A8 | R | The password of the above cabinet. | |
Document-name | A32 | R* | The name of the document to be erased. Either Document-name or ISN, not both. The parameter Document-name is reset after a successful deletion. | |
ISN | P8 | R* | The ISN of the document to be erased. Either ISN or Document-name, not both. The parameter ISN is reset after a successful deletion. You can invoke Z-DIS11 prior to Z-ERA11 to obtain the ISN for the desired document. | |
Deletion-flag | A1 | O | If blank, the document is moved to the Wastebasket. If marked, the document is erased from Con-nect. |
00 | Success |
02 | Invalid cabinet name |
03 | Password incorrect |
04 | ISN was not found |
08 | Supply either ISN or name, not both |
09 | ISN does not point to correct object |
51 | Invalid name |
53 | Requested object does not exist |
Z-100
Z-110
Z-120
Z-122
Z-123
Z-147
Z-165
Z-175
Z-177
Z-180
Z-190
Z-194
Z-197
Z-222
Z-223
Z-400
Z-401
Z-1200&0