Document revision date: 15 July 2002 | |
Previous | Contents | Index |
Table RMS-50 lists the FAB amd XAB control block fields written as output by the Open service.
Field Name | Option or XAB Type |
Description |
---|---|---|
FAB$L_ALQ | Allocation quantity: contains the highest numbered block allocated to the file. | |
FAB$B_BKS | Bucket size (does not apply to sequential files). | |
FAB$W_BLS | Device block size (applies only to sequential files). | |
FAB$W_DEQ | Default file extension quantity. | |
FAB$L_DEV | Device characteristics. | |
FAB$B_FAC | File access. | |
FAB$L_FOP | File-processing options. | |
FAB$V_CBT | Contiguous best try: indicates that the file is allocated contiguously on a "best effort" basis. | |
FAB$V_CTG | Contiguous: indicates that space for the file is allocated contiguously. | |
FAB$V_RCK | Read-check: transfers are followed up by a read-compare operation. | |
FAB$V_WCK | Write-check: transfers are followed up by a read-compare operation. | |
FAB$B_FSZ | Fixed-length control area size (applies only to VFC records). | |
FAB$W_GBC | Global buffer count. | |
FAB$W_IFI | Internal file identifier. | |
FAB$L_MRN | Maximum record number (for relative files only). | |
FAB$W_MRS | Maximum record size. | |
FAB$B_ORG | File organization. | |
FAB$B_RAT | Record attributes; used as output field except for process-permanent files with print file format. | |
FAB$B_RFM | Record format. | |
FAB$L_SDC | Spooling device characteristics. | |
FAB$B_SHR | File sharing. | |
FAB$L_STS | Completion status code (also returned in register 0). | |
FAB$L_STV | Status value (contains the I/O channel number if the operation is successful). | |
FAB$L_XAB | Next XAB address. | |
XABALL | Allocation XAB; see Chapter 9. | |
XABDAT | Date and time XAB; see Chapter 10. | |
XABFHC | File header characteristics XAB; see Chapter 11. | |
XABITM | Item list XAB; see Chapter 12. | |
XABKEY | Key definition XAB; see Chapter 14. | |
XABPRO | Protection XAB; see Chapter 15. | |
XABRDT | Revision date and time XAB; see Chapter 16. | |
XABSUM | Summary XAB; see Chapter 18. |
Using the Name Block for Opening Files
Table RMS-51 and Table RMS-52 list the NAM block fields (further described in Chapter 5) used as input and output for the Open service (provided that the NAM block address field is specified in the FAB).
Field Name | Option | Description |
---|---|---|
NAM$W_DID 1 | Directory identification (input only if the FAB$L_FOP field FAB$V_NAM option is set). | |
NAM$T_DVI 1 | Device identification (input only if the FAB$L_FOP field FAB$V_NAM option is set). | |
NAM$L_ESA | Expanded string area address. | |
NAM$B_ESS | Expanded string area size. | |
NAM$W_FID 1 | File identification (input only if the FAB$L_FOP field FAB$V_NAM option is set). | |
NAM$B_NOP | NAM block options. | |
NAM$V_PWD | Password: indicates that a password contained in a DECnet for OpenVMS access control string, if present in a file specification, is to be left unaltered in the expanded and resultant strings (instead of being replaced by the word "password"). | |
NAM$V_NOCONCEAL | Do not conceal device name: indicates that when a concealed device logical name is present, the concealed device logical name is to be replaced by the actual physical device name in the resultant string. | |
NAM$V_NO_SHORT_UPCASE 1 | Do not uppercase the directory and file specification in the NAM$L_ESA buffer. | |
NAM$L_RLF | Related file NAM or NAML block address. | |
NAM$B_RSL | Resultant string length. | |
NAM$L_RSA | Resultant string address. | |
NAM$L_FNB | File name status bits. | |
NAM$B_RSS | Resultant string area size. |
Field Name | Description |
---|---|
NAM$B_DEV | Size of file specification device string. |
NAM$L_DEV | Address of file specification device string. |
NAM$W_DID 1 | Directory identification. |
NAM$B_DIR | Size of file specification directory string. |
NAM$L_DIR | Address of file specification directory string. |
NAM$T_DVI 1 | Device identification. |
NAM$B_ESL | Expanded string length. If the NAM$L_ESA and NAM$B_ESS fields are nonzero, and if the FAB$L_FOP field FAB$V_NAM option is clear or the NAM$W_DID and NAM$W_FID fields are 0 on input, the expanded file specification string is copied to the buffer specified by the NAM$L_ESA field. |
NAM$W_FID 1 | File identification. |
NAM$W_FIRST_WILD_DIR 1 | The topmost directory level to contain a wildcard. |
NAM$L_FNB | File name status bits. |
NAM$W_LONG_DIR_LEVELS 1 | Total number of directories. |
NAM$B_NAME | Size of file specification name string. |
NAM$L_NAME | Address of file specification name string. |
NAM$B_NODE | Size of file specification node string. |
NAM$L_NODE | Address of file specification node string. |
NAM$B_RSL | Resultant string length. If the NAM$L_RSA field and the NAM$B_RSS field are nonzero, and if the FAB$V_NAM bit is clear or the NAM$W_FID field is zero when you invoke the Open service, the resultant file specification is copied to the buffer specified by the NAM$L_RSA field. |
NAM$B_TYPE | Size of file specification type string. |
NAM$L_TYPE | Address of file specification type string. |
NAM$B_VER | Size of file specification version string. |
NAM$L_VER | Address of file specification version string. |
Table RMS-53 lists the NAML block fields used as input for the Open service.
Field Name | Option | Description |
---|---|---|
NAML$W_DID 1 | Directory identification (input only if the FAB$L_FOP field FAB$V_NAM option is set). | |
NAML$T_DVI 1 | Device identification (input only if the FAB$L_FOP field FAB$V_NAM option is set). | |
NAML$L_ESA | Expanded string area address. | |
NAML$B_ESS | Expanded string area size. | |
NAML$W_FID 1 | File identification (input only if the FAB$L_FOP field FAB$V_NAM option is set). | |
NAML$L_FILESYS_NAME 1 | File system name buffer address. | |
NAML$L_FILESYS_NAME_ALLOC 1 | File system name buffer size. | |
NAML$L_FNB | Related file NAM or NAML block file name status bits. | |
NAML$L_INPUT_FLAGS | Additional flags specified as input. | |
NAML$L_LONG_DEFNAME | Long default file specification string address (used if FAB$L_DNA contains -1). | |
NAML$L_LONG_DEFNAME_SIZE | Long default file specification string size. | |
NAML$L_LONG_EXPAND | Long expanded string area address. | |
NAML$L_LONG_EXPAND_ALLOC | Long expanded string area size. | |
NAML$L_LONG_FILENAME | Long file specification string address (used if FAB$L_FNA contains -1). | |
NAML$L_LONG_FILENAME_SIZE | Long file specification string size. | |
NAML$L_LONG_RESULT | Long resultant name string address. | |
NAML$L_LONG_RESULT_ALLOC | Long resultant string size. | |
NAML$B_NOP | NAM or NAML block options. | |
NAM$V_PWD | Password: indicates that a password contained in a DECnet for OpenVMS access control string, if present in a file specification, is to be left unaltered in the expanded and resultant strings (instead of being replaced by the word "password"). | |
NAM$V_NOCONCEAL | Do not conceal device name: indicates that when a concealed device logical name is present, the concealed device logical name is to be replaced by the actual physical device name in the resultant string. | |
NAM$V_NO_SHORT_UPCASE 1 | Do not uppercase the directory and file specification in the NAML$L_ESA buffer. | |
NAML$L_RLF | Related file NAM or NAML block address. | |
NAML$L_RSA | Resultant string address. | |
NAML$B_RSL | Resultant string length. | |
NAML$B_RSS | Resultant string area size. |
Table RMS-54 lists the NAML block fields used as output for the Open service.
Field Name | Description |
---|---|
NAML$B_DEV | Size of file specification device string. |
NAML$L_DEV | Address of file specification device string. |
NAML$W_DID 1 | Directory identification. |
NAML$B_DIR | Size of file specification directory string. |
NAML$L_DIR | Address of file specification directory string. |
NAML$T_DVI 1 | Device identification. |
NAML$B_ESL | Expanded string length. If the NAM$L_ESA and NAML$B_ESS fields are nonzero, and if the FAB$L_FOP field FAB$V_NAM option is clear or the NAML$W_DID and NAML$W_FID fields are 0 on input, the expanded file specification string is copied to the buffer specified by the NAML$L_ESA field. |
NAML$W_FID 1 | File identification. |
NAML$L_FILESYS_NAME_SIZE 1 | File system name length. |
NAML$W_FIRST_WILD_DIR 1 | First wild directory. |
NAML$L_FNB | File name status bits. |
NAML$L_LONG_DEV | Long device string address. |
NAML$L_LONG_DEV_SIZE | Long device string length. |
NAML$L_LONG_DIR | Long directory string address. |
NAML$L_LONG_DIR_SIZE | Long directory string length. |
NAML$W_LONG_DIR_LEVELS 1 | Total number of directories. |
NAML$L_LONG_EXPAND_SIZE | Long expanded string length. |
NAML$L_LONG_NAME | Long file name string address. |
NAML$L_LONG_NAME_SIZE | Long file name string length. |
NAML$L_LONG_NODE | Long node name string address. |
NAML$L_LONG_NODE_SIZE | Long node name string length. |
NAML$L_LONG_RESULT_SIZE 1 | Long resultant string length. |
NAML$L_LONG_TYPE | Long file type string length. |
NAML$L_LONG_TYPE_SIZE | Long file type string address. |
NAML$L_LONG_VER | Long file version string address. |
NAML$L_LONG_VER_SIZE | Long file version string length. |
NAML$B_NAME | Size of file specification name string. |
NAML$L_NAME | Address of file specification name string. |
NAML$B_NODE | Size of file specification node string. |
NAML$L_NODE | Address of file specification node string. |
NAML$L_OUTPUT_FLAGS | Additional status bits passed as output. |
NAML$B_RSL | Resultant string length. If the NAML$L_RSA field and the NAML$B_RSS field are nonzero, and if the FAB$V_NAM bit is clear or the NAML$W_FID field is zero when you invoke the Open service, the resultant file specification is copied to the buffer specified by the NAML$L_RSA field. |
NAML$B_TYPE | Size of file specification type string. |
NAML$L_TYPE | Address of file specification type string. |
NAML$B_VER | Size of file specification version string. |
NAML$L_VER | Address of file specification version string. |
The following condition values can be returned. Use the Help Message utility to access online message descriptions. For more information about interpreting condition values, see Section 2.4.
RMS$_ACC | RMS$_ACS | RMS$_ACT |
RMS$_AID | RMS$_ATR | RMS$_BLN |
RMS$_BUG_DAP | RMS$_BUG_DDI | RMS$_CHN |
RMS$_COD | RMS$_CRMP | RMS$_DEV |
RMS$_DIR | RMS$_DME | RMS$_DNA |
RMS$_DNF | RMS$_DNR | RMS$_DVI |
RMS$_ENQ | RMS$_ENV | RMS$_ESA |
RMS$_ESS | RMS$_EXP | RMS$_EXTNOTFOU |
RMS$_FAB | RMS$_FLK | RMS$_FNA |
RMS$_FNF | RMS$_FNM | RMS$_FOP |
RMS$_IFA | RMS$_IFI | RMS$_IMX |
RMS$_IRC | RMS$_KNM | RMS$_KSI |
RMS$_LNE | RMS$_NAM | RMS$_NAML |
RMS$_NAMLESS | RMS$_NAMLFSINV | RMS$_NAMLFSSIZ |
RMS$_NAMLRSS | RMS$_NET | RMS$_NETFAIL |
RMS$_NOD | RMS$_NORMAL | RMS$_OK_NOP |
RMS$_ORG | RMS$_PLG | RMS$_PLV |
RMS$_PRV | RMS$_QUO | RMS$_RAT |
RMS$_REF | RMS$_RLF | RMS$_RPL |
RMS$_RSS | RMS$_RST | RMS$_RUNDOWN |
RMS$_SHR | RMS$_STR | RMS$_SUC |
RMS$_SUP | RMS$_SUPERSEDE | RMS$_SUPPORT |
RMS$_SYN | RMS$_SYS | RMS$_TYP |
RMS$_UPI | RMS$_VER | RMS$_WLK |
RMS$_XAB |
Previous | Next | Contents | Index |
privacy and legal statement | ||
4523PRO_029.HTML |