CA 2E now lets you create SQL or DDL database with meaningful names, instead of the implementation or truncated model names. This feature makes it easier to work with the external interfaces such as DB2 and Web Query.
The YSQLVNM model value controls the transition to meaningful names for SQL or DDL database. For more information about the YSQLVNM model value, see the YSQLVNM topic in the CA 2E Administration Guide.
Note: For more information about how to move to meaningful names for SQL or DDL database, see the article How to Move to Meaningful Names for SQL or DDL Database.
Limitations:
The following table shows the areas where copy process works:
|
|
DDS |
SQL |
LNG |
LNF |
LNT |
|---|---|---|---|---|---|
|
DDS |
Copy Process works |
Copy Process does not work |
Copy Process works |
Copy Process works |
Copy Process works |
|
SQL |
Copy Process does not work |
Copy Process does not work |
Copy Process does not work |
Copy Process does not work |
Copy Process does not work |
|
LNG |
Copy Process works |
Copy Process does not work |
Copy Process works |
Copy Process works |
Copy Process works |
|
LNF |
Copy Process works |
Copy Process does not work |
Copy Process works |
Copy Process works |
Copy Process works |
|
LNT |
Copy Process works |
Copy Process does not work |
Copy Process works |
Copy Process works |
Copy Process works |
Note:
The following documentation deliverables were updated for this feature:
For a table that has a valid system name (less than or equal to 10 bytes), the long name implementation fails. This is due to an IBM i limitation which does not allow the table name and the system name to be different from each other, if both the names are valid system names.
This limitation has been addressed by introducing a file level option, "Enhance SQL Naming" in the Edit File Details panel.
If you meet the following three conditions:
Then, it generates the table with (underscores) "_"s and "TABLE" as suffix, so that the name of the table becomes more than 10 char long.
Examples:
However, if a table that has a valid system name (less than or equal to 10 bytes in length), is generated with YSQLVNM model value set as *LNG or *LNT, and when you set the Enhance SQL Naming option on the Edit File Details panel to N, then the following error message is generated in the code:
YSQLVNM as *LNG or *LNT is not allowed for this table
Refer to the section "Long Name Scenarios" in the "Administration Guide"
The following documentation deliverables were updated for this feature:
CA 2E now lets you generate meaningful names for Table and/or Fields, independently of each other, so you have the flexibility to choose one or both or neither, depending on your environment requirements.
The two new values for the YSQLVNM model value, which are introduced for this feature are as follows:
Generates meaningful names for fields only.
Generates meaningful names for Table only.
The following documentation deliverables were updated for this feature:
|
Copyright © 2014 CA.
All rights reserved.
|
|