Login (LGI)
The Login command is the means whereby the user identifies himself and specifies the account number to which his use of SMFS is to be billed. The user should issue a LGI command directly after completing the ICP and before any command referencing a file. The user name and account number specified remain in effect until another LGI command is issued, a LGO command is issued, or the connection is close.
At present, the use of SMFS is not billed, and therefore use of the accounting command is optional. It is requested, however, that users and user processes begin to use this command as soon as possible, since we would like to collect statistics on SMFS utilization before implementing billing. Therefore, at present the user name can be any name that identifies the user, and the account number is completely arbitrary.
The format of the LGI command is given below. Note that the lengths of the fixed-length fields are given in bits. The op code for LGI is decimal 13.
8
<op code><user name><account number>
The <user name> and <account number> fields are further divided as follows:
8 8*length
<length><user name>
Where <length> gives the length in 8-bit characters of the <user name> or <account number> subfield. The maximum length of <user name> is eight characters and of <account number> is four characters. The <user name> and <account number> fields must consist of characters chosen from the same character set as filenames.