Identifying DB2 files

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

The system file-name must include the schema for the underlying DB2 table. Specify the schema directly as a prefix to the system file-name.

For interoperation with CICS TXSeries, use schema name CICS. For example, to associate a DB2 file named TRANS in schema CICS with environment variable EXTFILENAME, you can use this command:

export EXTFILENAME=DB2-CICS.TRANS

Alternatively, for more flexibility, specify the file system and system file-name separately:

export COBRTOPT=FILESYS=DB2
export EXTFILENAME=CICS.TRANS

For more details about using DB2 files, see the appropriate related task below.

related references  
DB2 file system  
FILESYS