Function
Sets up an empty directory with a given file name.
Format
MAKEDIR file name,user name,PSEUDO
The file name must include a local name. If details are specified the language code must be C1 and the generation number 1. The directory in which the file will be entered must either be the proper user's directory or an existing pseudo user's directory owned by the proper user; it must not contain an entry for a file of the same general local name.
The second and third parameters are optional. If the first two parameters only are given, a user will be set up in the Dictionary with zero budgets and a password of twelve spaces.
If either one parameter (the file name) or all three are given, a pseudo user will be set up in the Dictionary with no budgets or passwords. If the file name alone is given, the directory will be given a pseudo user name by GEORGE.
The third parameter must be omitted if the second is omitted.
If a user name os given, it must be new to the existing filestore. If the new user is not a pseudo user, the issuer of the MAKEDIR command must have the NEWUSER privilege.
Forbidden contexts
NO USER
Execution
A check is made that no file with the specified name exists and that the file name will make the file belong to the proper user. If a new directory has a non-pseudo user assigned to it, it must be immediately inferior to the proper user's proper directory (this restriction ensures that no pseido user is superior to a real user).
If the new user is npt apseido user, MAKEDIR will issue a TRAPGO commamd to give the new user a READ trap to his directory.
Examples
MAKEDIR ACCOUNTS
MAKEDIR BI,:BILL
MAKEDIR :A.EAST,:PSI,PSEUDO
Notes
Error Messages
THE SUPERIOR USER IS A PSEUDO USER
USER NOT PRILIEGED TO INTRODUCE NEW USERS
FILE NAME PARAMETER MISSING
z IS ALREADY IN USE AS A FILE NAME
z IS AN EXISTING USER NAME
YOU CANNOT CHOOSE THE DETAILS OF THE LOCAL NAME OF A DIRECTORY
MAXIMUM FILESTORE DEPTH EXCEEDED