FILESYS

FILESYS specifies the file system to be used for files for which no explicit file system was specified by means of an ASSIGN clause or an environment variable. The option applies to sequential, relative, and indexed files. It does not apply to line-sequential files, for which the file system must be specified as, or default to, NAT (native).

Read syntax diagramSkip visual syntax diagram
FILESYS option syntax

            .-VSA--.     
>>-FILESYS(-+-DB2--+-)-----------------------------------------><
            +-RSD--+     
            +-SdU--+     
            +-SFS--+     
            +-STL--+     
            '-VSAM-'     

Default is: FILESYS(VSA)

Abbreviation is: FS(DB2|RSD|SdU|SFS|STL|VSA)

DB2
The file system is DB2 relational database.
RSD
The file system is record sequential delimited.
SdU
The file system is SMARTdata Utilities.
SFS
The file system is Encina Structured File Server.
STL
The file system is the standard language file system.
VSA or VSAM
VSA or VSAM (virtual storage access method) implies either the SFS or SdU file system.

If the system file-name begins with the value of environment variable ENCINA_CDS_ROOT (typically /.:/cics/sfs), this suboption implies the SFS file system. Otherwise, it implies the SdU file system.

related concepts  
File systems  
Line-sequential file organization
  

related tasks  
Identifying files

related references  
Precedence of file-system determination  
Runtime environment variables
  
ASSIGN clause (COBOL for AIX Language Reference)