MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 6 249
Command Definitions (FLUSHLOG-GETUSERMODE)
FPARSE
corresponding
vector
parameter points to:
vector
32-bit signed integer array (optional)
Returns vectors, one per element, for the requested
item
.
NOTE
A
vector
cannot be passed without a corresponding
item
value.
Information is returned as follows:
Bits Value/Meaning
16:16 Return the length of the string specified by the corresponding
items
parameter.
If zero is returned, the requested item in
formaldesig
was not specified.
0:16
Return the offset, in bytes, from the base of the
formaldesig
parameter to the
first element of the string segment specified by the corresponding
item
parameter.
The last element returns the file designator length passed in
formaldesig
(bits (16:16)) and the default type (bits (0:16)) if the
result
parameter indicates a system file.
NOTE
It is not recommended that applications parse file names on their own.
Instead, use the FPARSE intrinsic to do so.
Related Information
Manual Accessing Files Programmer's Guide