Mass Add Cabinets - Batch Mode Only

This document covers the following topics:


Description

Program

B01050

Function

Add cabinets by copying the profiles of the new cabinets from a specified cabinet.

Note:
Administrator status is not copied to the new cabinets.

Utility Parameters

The program requires the Source-cabinet-name from which it copies the system cabinet defaults and cabinet and user profiles, and the owners. If the source cabinet does not exist, the program terminates.

The Source-cabinet-name need be coded only once. The other parameters can be coded as often as desired (i.e. equal to the number of new cabinets to be added).

If a period (.) or empty line is coded, the procedure stops.

Private Cabinet:

Parameter Format Description
Source Cabinet Name A8  
New Cabinet Name A8  
Last Name A32  
First Name A32  
Initial A1 Optional
Password A8 Optional

Standalone, Shared or Public Cabinet:

Parameter Format Description
Source Cabinet Name A8  
New Cabinet Name A8  
Description A32  
Password A8 Optional

Procedure

The type of cabinet which is added will be the same type as the source cabinet specified.

Source Cabinet = Private Cabinet

If the source cabinet is a private cabinet, you must specify a New-cabinet-name, Last-name and First-name. Initial and Password are optional.

Source Cabinet = Standalone Cabinet, Shared Cabinet, Public Cabinet

If the source cabinet is a standalone, shared or public cabinet, you must specify a New-cabinet-name and a Description. A password is optional (as a third parameter).

Note:
If you do not specify a password for a cabinet, the New-cabinet-name is used as the password.

Batch Example

Three new cabinets are to be added, using a private cabinet as the Source-cabinet. The first cabinet (newcabname1) is to have a user-defined password, whereas the others use the respective cabinet-name as default passwords. The new cabinets will all have the same profile as the source cabinet. This would be coded as follows:

LOGON SYSCNT2B 
MENU 
B01050 
sourcecabname
newcabname1,lastname1,firstname1,initial,password
newcabname2,lastname2,firstname2 
newcabname3,lastname3,firstname3 
.
FIN

Two new cabinets are to be added, using a shared cabinet as the Source-cabinet. The second cabinet uses the Cabinet-name as the default password. The new cabinets will all have the same profile as the source cabinet. This would be coded as follows:

LOGON SYSCNT2B 
MENU 
B01050 
sourcecabname
sharedcabname1,description,password 
sharedcabname2,description 
.
FIN