CREATE.ACCOUNT

Top  Previous  Next

 

The CREATE.ACCOUNT command creates a new QM account.

 

 

Format

 

CREATE.ACCOUNT acc.name pathname {NO.QUERY}

 

where

 

acc.nameis the name to be given to the new account. This name must start with a letter and may not contain spaces. The name will be translated to uppercase and must not exceed 32 characters in length. The command will prompt for this if it is not given on the command line.

 

pathnameis the pathname of the operating system directory to hold the account. The directory will be created if it does not already exist but the parent directory must already exist. The command will prompt for this if it is not given on the command line.

 

NO.QUERYsuppresses the confirmation prompts when the pathname directory already contains a VOC file or when creating a new directory.

 

 

The CREATE.ACCOUNT command creates a new account and populates the VOC file from the NEWVOC template stored in the QMSYS account. The new account is added to the register of accounts in the ACCOUNTS file in the QMSYS account.

 

If no pathname is specified on the command line, CREATE.ACCOUNT prompts for the pathname. The command will look in the VOC of the QMSYS account for an X-type record named $ACCOUNT.ROOT.DIR and, if this is found, will use field 2 of this record to specify a directory name under which the account should be created by default. This default pathname can be selected by entering a null response to the pathname prompt.

 

 

Example

 

CREATE.ACCOUNT SALES D:\SALES

 

This command creates a new QM account named SALES in the D:\SALES directory.

 

 

See also:

DELETE.ACCOUNT, UPDATE.ACCOUNT