Previous Topic Next topic Print topic


File Handling and Dataset Environment Variables

This topic lists environment variables that relate to configuring the file and dataset handling.

Note: The Environment Variables: Alphabetical Order topic contains the values for most environment variables.
Variable Description
COBDATA
Specifies one or more locations, separated by ; (Windows) or : (UNIX), in which to search for data files at run time. As long as the file assignment does not contain a sub-path (that is, a string containing \ or /) then the file assignment is appended to each location specified by COBDATA in order to locate the file.
Note: Users modernizing RM/COBOL or ACUCOBOL-GT legacy code can use a sub-path in the file assignment, but only by compiling with the relevant DIALECT or IDXFORMAT values for the respective File Handling systems; setting these values in the File Handling configuration file is not sufficient to achieve this.
DB2DBDFT The default database for the DB2 SQL precompiler to process SQL statements against
ES_RLS_FILE_SUPPORT Stops dirty records being returned when a record is locked by another process.
EXTFH Specifies a configuration file for the Callable File Handler
FHREDIR A configuration file to be used by the Fileshare Client
FS A configuration file to be used by the Fileshare Server
FSCOMMS Specifies that the Fileshare system is to run in single user mode
GDG.RECALL Controls the recall of HSM archived datasets when accessing mainframe GDGs using MFA Data Access Services
HCOBND A directory for DB2 bind files
LIB The location of the DB2 LIB directory
MFALLOC_LOC The location of the default allocated dataset
MFALLOC_PROP Rules for generated PC dataset names on allocation (that is, the default catalog PC DSN format)
MF_NEWSPACE Indicates whether SPACE is required for NEW datasets
MF_SYSLOGDSN The Syslog Dataset name
MFLOCKING Enables Locking Support
PROCLIB Specifies PROCLIB datasets. This can be a concatenation of PDS names.
STRICTVSAM When set to ON and under a mainframe emulation, a file status of 37 is returned when you open an existing VSAM file for OUTPUT and the file has or previously had some data written to it, or if the file format is different from the file on disk. The default for this variable is OFF.
TXFILEP The location of Micro Focus VSAM files
Previous Topic Next topic Print topic