OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

queinit (Allocate physical file for message queue)

Format

queinit [-r] [-s record-length] [-n records-count] physical-file-name

Function

The queinit command allocates a physical file to be used as a message queue by the message queue server.

The OpenTP1 file system must be initialized prior to entering the queinit command.

Options

-r

Specifies that a physical file is to be allocated even if a file with the specified name already exists. If this option is omitted and the specified file already exists, an error occurs.

-s record-length~((sector length specified in file system initialization, up to 32768 (32K) bytes, specified as a multiple of the sector length)) <<2048>> (unit:bytes)

Specifies a record length.

-n records-count~((1-262144)) <<4096>>

Specifies the number of record areas to be allocated, where each record area is of the specified record length.

Command arguments

physical-file-name~<path name>

Specifies a name for the physical file to be allocated, expressed as the full path name.