Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

DELETE-MAIL-ORDER - Delete e-mail send order

&pagelevel(4)&pagelevel

Domain:

UTILITIES

Required authorization:

STD-PROCESSING
TSOS

You can use the DELETE-MAIL-ORDER command to delete e-mail send orders transferred to the ASTI subsystem that have not yet been processed. For orders that have already been processed, the DELETE-MAIL-ORDER command deletes the information on the associated execution status in the ASTI-internal tables. The associated SYS files under the user ID of the e-mail sender are also deleted.

DELETE-MAIL-ORDER

ORDER-ID = *ALL / <x-text 1..16>

,SENDER-USERID = *OWN / *ANY / <name 1..8>

Operands

ORDER-ID = *ALL / <x-text 1..16>
Specifies which orders are to be deleted.

ORDER-ID = *ALL
All orders of the user ID specified under SENDER-USERID are deleted. It can happen that new e-mails are also deleted that are sent by another task of the same user ID parallel to the execution of DELETE-MAIL-ORDER.

If DELETE-MAIL-ORDER returns an error, it may not have been possible to delete all orders. In this case, repeat the command in order to delete the remaining orders.

ORDER-ID = <x-text 1..16>
The order with the specified ASTI order ID is deleted if the specified user is the owner of the order. Only users with TSOS authorization can delete orders with a different user ID.

SENDER-USERID = *OWN / *ANY / <name 1..8>
Specifies the users whose orders are to be deleted.

SENDER-USERID = *OWN
Only the orders of the command caller are deleted.

SENDER-USERID = *ANY
For users without TSOS authorization, this has the same effect as specifying *OWN. For users with TSOS authorization, it means that the orders of all users are deleted.

SENDER-USERID = <name 1..8>
User ID of the owner of the orders to be deleted. Only users with TSOS privileges can delete orders of another user ID.

Return codes

(SC2)

SC1

Maincode

Meaning


0CMD0001No error.

64CMD0216The user does not have the required authorization for the command.

32CMD0220Internal error.

64YML0120The ASTI subsystem is not available.

32YML0176Unexpected ASTI error.

64YML0210Order not found.

64YML0216Order executed by external task.

64YML0220The user is not entitled to delete this order.

64YML0221The user is not authorized to delete orders of other users.