Z-ADD13

This document covers the following topics:


Description

Add a folder or file.

You can also add a folder and file at the same time.

The sequence of a file is always that of the folder in which it is stored (as specified in the parameter Folder-sequence).

If you want to specify a description and keywords while adding a folder or file, you must use Z-ADD13A.

Parameters

Parameter Format In Out Remarks
Return-code N2 O X Input -1: no ET.
Cabinet A8 R   The cabinet in which the folder or file is to be added.
Password A8 R   The password of the above cabinet.
Folder-name A15 R   Either the name of the folder to be added, or the name of the folder in which you want to store the file that you are currently adding.
File-name A15 O   The name of the file to be added within the above folder.
Folder-sequence N1 O   1 (ascending by date), 2 (descending by date), or 3 (user-defined). Default: 1.
Folder-number N5   X The internal number for the new folder.
File-number N5   X The internal number for the new file.

Return Codes

00 Success
02 Invalid cabinet name or - in batch mode only - locked cabinet
03 Password incorrect
10 Function not valid for a system folder
12 System folder record does not exist, contact administrator
73 Invalid folder/file name
74 Folder/file already exists
75 Too many folders/files in this cabinet (>65535)
76 Sequence number for folder invalid, set to 1

Subprograms

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