Previous | Contents |
Return Value | Description |
---|---|
SS$_NORMAL | Normal successful completion |
Other error | See description of Ralf_Open |
31 16 15 0 -------------------------------- | Type code | Size | 63 -------------------------- 32 | Address of value | -------------------------------- |
The following are the fields that can be returned. The mnemonic field
names are defined in the RALFDEF macro provided with RALF. In addition
to these, you can specify any field defined by the System Macro $ATRDEF
that is a valid item in the ACP QIO call. For a complete list of these
see the OpenVMS I/O User Guide (chapter on File ACP). Note that RALF
provides some of the more commonly accessed fields in the definitions
below.
3.6.1 Item Codes provided by Ralf
Field | Size | Description |
Ralf_C_Efblk | Ralf_S_Efblk (longword) | Last block in file |
Ralf_C_Efbyte | Ralf_S_Efbyte (word) | First Free byte in last block |
Ralf_C_Rsize | Ralf_S_Rsize (word) | Record size |
Ralf_C_Vfcsize | Ralf_S_Vfcsize (byte) | VFC control size |
Ralf_C_Rtype | Ralf_S_Rtype (byte) | Record Type |
Ralf_C_Attrib | Ralf_S_Attrib (byte) | Record Attributes |
Ralf_C_Efn | Ralf_S_Efn (longword) | Event Flag used |
Ralf_C_Chan | Ralf_S_Chan (word) | ACP channel used |
$ LINK MYAPP,RALF_DIR:RALF_ALPHA.OLB/library/select |
$ LINK MYAPP,RALF_DIR:RALF_LINK.OPT/option |
$ PEEK :== $RALF_DIR:PEEK_ALPHA.EXE $ PEEK <filename> [/PAGE=[value]] |
%SYSTEM-W-ACCONFLICT, file access conflict |
Do not install the PEEK program with SYSPRV in order to override this conflict. Doing so would allow users to read any file on the system. |
$ FILEINFO :== $RALF_DIR:FILEINFO_ALPHA.EXE $ FILEINFO <filename> [/SYMBOL] |
%SYSTEM-W-ACCONFLICT, file access conflict |
Do not install the FILEINFO program with SYSPRV in order to override this conflict. Doing so would allow users to access information on any file on the system. |
$ ! Compile the sample programs and associated CLD definitions. $ $ Fortran PEEK, FILEINFO $ Set Command /object PEEK-CLD $ Set Command /object FILEINFO-CLD |
$ ! Link the sample utilities with the OBJECT library (Alpha example) $ $ Link FILEINFO,FILEINFO-CLD,RALF_ALPHA.OLB/library/select $ Link PEEK,PEEK-CLD,RALF_ALPHA.OLB/library/select |
$ ! Link the sample utilities using the shareable image (Alpha example) $ Link FILEINFO,RALF_LINK.OPT/option $ Link PEEK,RALF_LINK.OPT/option |
Previous | Contents | Contents |