INQUIRE FILE command
Retrieves information about the named file from the file control table (FCT). In Smalltalk, the parameters of the INQUIRE FILE command are contained in two classes: CICSInquirefile and CICSInquirefileResult. 
See CICS Application Programming Reference for the syntax of the command a description of the parameters. 
Defined instance methods
Parameters supplied to CICS in CICSInquirefile
 
|  |  |  |  |  | 
| FILE(name)  | file:  | Input  | Fixed(8)  |   | 
Parameters returned by CICS in CICSInquirefileResult
 
|  |  |  |  |  | 
| ENABLESTATUS(cvda)  | enablestatus  | Output  | Binary 32  |   | 
| OPENSTATUS(cvda)  | openstatus  | Output  | Binary 32  |   | 
| RESP  | resp  | Output  | Fixed(2)  | Inherited from CICSResult.  | 
| RESP2  | resp2  | Output  | Fixed(2)  | Inherited from CICSResult.  | 
Example
Inquires after the file named FILEA, and if the file is closed, opens it. 
| result open |
result := CICS inquirefile file: 'FILEA'; exec.
result openstatus = CVDA_CLOSED
   ifTrue: [open := CICS setfileopen file: 'FILEA'; exec]
Last modified date: 07/09/2019