GDSX (Extended General Device Support) Manual

Service Routines
Extended General Device Support (GDSX) Manual529931-001
8-24
^FILE_CLOSE_
The value of noretn is one of the following:
FAULT can be called with the noretn parameter equal to 0 from any user exit or
task.
tcb input
INT .EXT:ref
is a pointer containing the calling task’s TCB address.
p-reg input
INT:value
contains the contents of the P register when FAULT is called.
e-reg input
INT:value
contains the contents of the E register when FAULT is called.
^FILE_CLOSE_
This procedure closes an open file. The ^CLOSE and ^FILE_CLOSE_ procedures
function exactly the same. ^FILE_CLOSE_ may be called whether USCODE is
converted or unconverted. This procedure is a waited operation.
The syntax, condition code settings, and considerations regarding this procedure are
the same as the counterpart in the Guardian Procedure Calls Reference Manual.
^FILE_GETINFO_
This procedure obtains a limited set of information about a file identified by file number.
The ^FILE_GETINFO_ procedure provides only a subset (last error, file name, and file
type) of the functions available with ^FILEINFO. ^FILEINFO and ^FILE_GETINFO_
can be called whether the application is converted or unconverted. ^FILE_GETINFO_
is a waited operation.
Except for the following considerations, the syntax, condition code settings, and
considerations regarding this procedure are the same as the counterpart in the
Guardian Procedure Calls Reference Manual.
Considerations
A filenum parameter value of -1 will return the last file-system error against the
current task.
0 The user exit or task is not to be restarted. Control is given back to the
calling process. This is the default.
1 The user exit or task is to be restarted.