FILEID returns a size_t 1 value that is the system token for a PL/I file constant or variable.
>>-FILEID(x)---------------------------------------------------><
This token should not be used for any purpose that could be accomplished by a PL/I statement.
On z/OS, the token holds the address of the DCB associated with a RECORD or STREAM file or of the ACB associated with a VSAM RECORD file. The token is not valid for other files.
The ERROR condition with oncode 1010 is raised when the file is not open.