PRO/5 and BBj Files and Devices
During the OPEN process, PRO/5 (or BBj) determines the type of file or device opened and proceeds appropriately. The file name consists of up to 4 parts in the sequence listed:
{/<servername>} {diskdrive} {path} filename
Note:
In PRO/5 15.01 and higher, and BBj 15.10 and higher, the OPEN verb by default is restricted from opening pipes (commands starting with "<", ">", or "|") in console mode. This is to protect against accidentally overwriting a data file as a side effect of inadvertently specifying a pipe expression. To open a pipe at the console, set SETOPTS byte 9 bit $10$ or include MODE="PIPE" in the OPEN.
|
Component |
Description |
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{/<servername>} |
Server name, used on networks. The system configuration defines the name of the server running the PRO/5 Data Server or BBj PRO/5 Data Server/Filesystem. In addition, several other options can be specified for connecting to the server as follows, separated by commas :
|
|||||||||||
|
{diskdrive} |
Disk drive identifier. The disk drive identifier is terminated by a colon (":"), and is operating system dependent. The system configuration defines the name of the disk drive. |
|||||||||||
|
{path} |
Path or directory. The path is the list of directories, read from left to right, required to locate the file. Directories are separated by slash ("/") characters. |
|||||||||||
|
filename |
Name of the file, placed to the right of the last colon (":"), slash ("/"), or backslash ("\") character. The total file name in PRO/5 cannot exceed 127 characters in length. |
|||||||||||