INQUIRE FILE
| COBOL |
Java |
| EXEC CICS INQUIRE FILE |
ibmCics.inquireFile |
Syntax
ibmCics.inquireFile( <FileName>, <DsName>, <OpenStatus> );
or
ibmCics.inquireFile( <FileName>, <OpenStatus>, <EnableStatus>, <DsName> [, <noHandle>] );
Parameter(s)
<FileName>
The name of the file.
<DsName>
Returns the data set name of the file.
<OpenStatus>
Returns the open status of the file.
<EnableStatus>
Returns the enable status of the file.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.
Example(s)
| COBOL |
Java |
EXEC CICS
INQUIRE FILE (WS-FILE)
DSNAME (WS-DATASET)
OPENSTATUS (WS-FILESTATUS)
END-EXEC.
|
ibmCics.inquireFile(locDef.ws_File, locDef.ws_Dataset, locDef.ws_Filestatus);
|