Creating GSAM databases

When defining a new GSAM database, use the CREATE DATABASE statement while also specifying the ACCESS GSAM clause.

The default OS access type is VSAM, however you can specify VSAM or BSAM. You can also use the LIKE keyword to generate a database description using attributes of an existing GSAM resource.

When defining a GSAM database, consider the following:
  • You can define only one table space (data set group)
  • The ddname of an input data set, which is the table space name provided on the CREATE TABLESPACE statement, is used by the application to retrieve data from the database.
  • The ddname of an output data set, which is the name provided on the OUTPUT keyword on the CREATE TABLESPACE statement, is used when loading the database.