Identifying SFS files

To identify a file in the SFS file system, specify or default to file-system ID SFS.

The leftmost part of the system file-name must match the value of the runtime environment variable ENCINA_CDS_ROOT. For example:

export ENCINA_CDS_ROOT=/.:/cics/sfs
export EXTFN=SFS-/.:/cics/sfs/sfsServer/INVENTORY

If you set environment variable CICS_TK_SFS_SERVER to the desired SFS server, you can use a shorthand specification for the system file-name instead of using the fully qualified name. The system file-name is prefixed with the value of CICS_TK_SFS_SERVER, followed by a forward slash, to create the fully qualified system file-name. For example:

export ENCINA_CDS_ROOT=/.:/cics/sfs
export CICS_TK_SFS_SERVER=/.:/cics/sfs/sfsServer
export EXTFN=SFS-INVENTORY

The following export command shows a more complex example of how you might set an environment variable MYFILE to identify an indexed SFS file that has two alternate indexes:

export MYFILE="/.:/cics/sfs/sfsServer/mySFSfil(\
/.:/cics/sfs/sfsServer/mySFSfil;myaltfil1,\
/.:/cics/sfs/sfsServer/mySFSfil;myaltfil2)"

The command provides the following information:

For each alternate index file, the file name must be in the format of its fully qualified base system file-name followed by a semicolon (;) and the alternate index file name: /.:/cics/sfs/sfsServer/mySFSfil;myaltfil1.

A comma is required between specifications of alternate index files in the export command.

related references  
SFS file system