Z-ERA11B

This document covers the following topics:


Description

Erase a document from a bulletin board.

The document is always placed in the Wastebasket of the person who has sent the document to the bulletin board.

This subprogram can only be used by a supervisor, system administrator or by the user who sent the document to the bulletin board.

Calling Z-DIS04A prior to this subprogram returns the required document ISN.

When a value other than 0 is returned in the parameter Return-code, BACKOUT TRANSACTION is always issued.

Note:
This subprogram only erases documents. It does not erase any other kind of object from a bulletin board.

Parameters

Parameter Format In Out Remarks
Return-code N2 O X Input -1: no ET.
Cabinet A8 R   The cabinet ID of a supervisor or system administrator, or of the user who sent the document to the bulletin board.
Password A8 R   The password of the above cabinet.
Document-ISN P8 R   The ISN of the document to be erased.

Return Codes

00 Success
02 Invalid cabinet name or - in batch mode only - locked cabinet
03 Password incorrect
04 ISN was not found
09 ISN does not point to correct object
99 User not allowed to erase item

Subprograms

Z-100
Z-110
Z-120
Z-122
Z-123
Z-175
Z-180
Z-190
Z-1200&0