Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in


Usage of Reservered Words as Column Names

Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message

Global Moderator

Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Nov 22, 2010 2:35 pm    Post subject: Usage of Reservered Words as Column Names
Reply with quote

I am guilty of telling posters (of these kind of questions) to not use them
and suffer the consequences of poor db design.

I wish to be spared these type of comments,
and I will spare you the story of why I want to use DB2 Reserved Words as column names (in the hundreds of tables and thousands of modules that already exist).

I have tables with column names that include:

Our software is DB2 Vsn 7/Cobol II - even though the rest of the firm is using DB2 Vsn 9.1/E-COBOL and is probably moving to DB2 Vsn 10 next year.

We are currently spared the necessity of converting to E-Cobol because the Vsn 7 precompiler generate SQL that runs in DB2 V9.1.

The liscense for the DB2 Vsn 7 precompiler actually dictates when I have to really consider changes potentially required for this.

Vsn 9.1 allows me to use the (above mentioned) reserved words without using quotes.
My question is:
Will Version 10, also allow me to use these reserved words as column names?

anybody on vsn 10 yet that can provide me (and I imagine others) some info - advice I don't need - either I hand it out or ignore it when received.
Back to top
View user's profile Send private message

View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1


Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 query Using Recursion, Converting... smilewithashu2 DB2 1 Tue Jan 03, 2017 12:50 pm
No new posts SQZ pipe delimited file with 1 column... Rick Silvers DFSORT/ICETOOL 2 Sun Nov 06, 2016 8:11 pm
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am
No new posts Add system date inside of a PS file a... pramitdas DFSORT/ICETOOL 5 Sun Aug 28, 2016 12:06 am
No new posts Converting NULL column into NOT NULL ... Raghu navaikulam DB2 5 Sat Aug 06, 2016 3:45 pm

Back to Top
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us