Previous Topic Next topic Print topic


Modifying Field Names for Improved Readability

Once you have examined the resulting database table, there may be changes you want to make to improve readability. One of the most common modifications is to change the name of one of the resulting columns in the database table to make it easier to work with from SQL. Database Connectors provides a simple method for handling this situation.

You can embed COBOL directives into you program that modify how the table is created. One of the more convenient directives is the NAME directive, which instructs Database Connectors to name the resulting database column by another name. This directive does not in any way modify how the COBOL program operates. It is strictly a comment from the perspective of your application. For further information about the NAME directive, see the Help in your Database Connectors User's Guide Reference section.

Previous Topic Next topic Print topic