HiLMAs reference
Back

Input/Output instructions

Next

FSTATE

FSTATE numfile[,FN=filename,FT=filetype[,FM=filemode]]

 

Description

Collect some information about a file. Can be used only with VSAM file and CMS files.

numfile are the numeric constants (from 1 to 20) used in FOPEN statement to handle the file.

If used with VSAM, file must be already opened, but in CMS file can be closed or never used: in this case following parameters are necessary:

FN=, FT=, FM=, RECFM=    are Filename, Filetype, Filemode; if Filemode is omitted, 'A1' is assumed.

Collected informations are in Hilmas variables: see this page to see variables affected for every environment.

 

Parameter specifications

Parameter Name  Mode Type coding Remark
1 numfile Input numeric constant from 1 to 20
  FN= Input String C or X or const. 8 characters (mandatory in CMS)
  FT= Input String C or X or const. 8 characters (mandatory in CMS)
  FM= Input String C or X or const. 2 characters

 

Examples

 


Back Start Next
FENBR Top FERASE