Z-EXPU

This document covers the following topics:


Description

Update the expiration date and archive flag of a document.

If the parameter Expiration-date is 0 (zero), the expiration date is not updated (i.e. the previously defined value will still be used).

The expiration date you specify is checked against the default value ("Days until Expiration") specified by the system administrator. The expiration date must not be lower than the sum of the current date plus the default value.

Parameters

Parameter Format In Out Remarks
Return-code N2 O X Input -1: no ET.
Cabinet A8 R   The cabinet which contains the document to be updated.
Password A8 R   The password of the above cabinet.
Document-name A32 R*   The name of the document to be updated. Either Document-name or ISN, not both.
ISN P8 R*   The ISN of the document to be updated. Either ISN or Document-name, not both.
Expiration-date N8 O   The expiration date of the document. Format yyyymmdd.
Archive-flag A1 O   If marked, the document will be stored on some other medium (e.g. on tape) when the expiration date is reached.

Return Codes

00 Success
02 Cabinet not found
03 Password incorrect
04 Document ISN was not found
08 Supply either document ISN or name, not both
09 ISN does not point to a document record
51 Document name incorrect
53 Document not found
62 Invalid date format
90 Invalid expiration date

Subprograms

Z-120
Z-122
Z-123
Z-1200&0