Previous Topic: More InformationNext Topic: Implementing SQL/DDL and DDS in the Same Model


Implementing SQL

If you implement SQL, each model library list and associated job description must reference an SQL collection. Parameter SQLLIB creates and sets the name of the SQL collection.

If you accept the default option *DBFGEN, CA 2E looks at the value for the DBFGEN parameter and, if it is set to *SQL, creates the collection and builds a name from the model library name according to the following rules:

Implementing DDL

If you implement DDL, each model library list and associated job description must reference an SQL collection. Parameter SQLLIB creates and sets the name of the SQL collection.

If you accept the default option *DBFGEN, CA 2E looks at the value for the DBFGEN parameter and, if it is set to *DDL, creates the collection and builds a name from the model library name according to the following rules:

Note: Irrespective of the value of the YSQLFMT model value and if the generation mode is *DDL, the RCDFMT keyword is generated.

Limitations:

Note: If you want to change an access path, which is previously defined as *DDS with a MAXMBR compiler override, to *DDL, you must revert to *DDS generation mode and must remove the compiler override, and then change back to *DDL generation mode.