Z-IN11U1

This document covers the following topics:


Description

Update the document information.

Parameters which are not completed in the parameter list (except the Expiration-date) are deleted from the document information. Thus, to retain the existing values, you must specify them once more before you invoke this subprogram. You can invoke Z-IN11G2 prior to this subprogram to obtain the current values.

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

Parameters

Parameter Format In Out Remarks
Return-code N2 O X Input -1: no ET.
Cabinet A8 R   The cabinet in which the document information is to be updated.
Password A8 R   The password of the above cabinet.
Document-name A32 R*   The name of the document for which you want to update the document information. Need not be specified, if the first line of the Description is specified. Either Document-name or ISN, not both.
ISN P8 R* X The ISN of the document for which you want to update the document information. Input: either ISN or Document-name, not both. You can invoke Z-DIS11 prior to this subprogram to obtain the ISN for the desired document.
Description A60/1:4 O   A brief description for the document. If you do not specify a Document-name, you must specify a Description.
Keywords A15/1:6 O   Keywords are helpful when you search for an object. You can specify up to 6 keywords. A keyword must not contain an asterisk (*).
Private-flag A1 O   If marked, the document is a private object.
Security-flags A4 O   The security levels for Read, Modify, Copy and Print. Values 0 to 9.
Formatting-profile A32 O   The name of the formatting profile.
Pre-format-procedures A32/1:4 O   The names of the pre-formatting procedures.
Post-format-procedures A32/1:4 O   The names of the post-formatting procedures.
Expiration-date N8 O   The expiration date of the document. Format yyyymmdd. The 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 and the default value.
Archive-flag A1 O   If marked, the document is stored on some other medium (e.g. on tape) when the expiration date is reached.

Return Codes

00 Success
02 Invalid cabinet name or - in batch mode only - locked cabinet
03 Password incorrect
04 ISN was not found
08 Supply either ISN or name, not both
09 ISN does not point to correct object
16 Document is locked - editing was not completed
51 Invalid name
53 Requested object does not exist
54 At least one keyword was invalid
62 Invalid date format
70 The security levels must be numeric
71 Invalid pre-formatting procedure name
72 Invalid post-formatting procedure name
81 Invalid formatting profile name
90 Invalid expiration date
91 The security levels must not be higher than in profile

Subprograms

Z-120
Z-122
Z-123
Z-128
Z-147
Z-175
Z-1200&0