daveslash,
No way to add "for bit data" other than SQL. You could try using ALTER TABLE to add the column, but if SQL isn't allowed, then altering the table with SQL probably is a no-no too.
Perhaps datatype "5" will do the trick for you - Binary Character? I'm not sure if it is 100% compatible. Also, IBM recommends using BInary WITH BIT DATA rather than character.
Other alternatives to consider:
Character with CCSID (65535)
"B" - Binary
"H" - Hexadecimal (like character with no CCSID associated, so never gets translated).
Create an extension table for the credit card info with SQL, and create a join logical.
The big difference is the options for conversion to other types, default rules, and padding rules.
- Gary Patterson
Main Topics
Browse All Topics





by: KdoPosted on 2009-04-08 at 14:58:52ID: 24102329
Dave,
You're on the wrong side of the question. I expect YOU to answer the AS/400 questions. :)
I'm not sure that you can. Adding this to a physical file definition would require the the file be rebuilt to match the new definition. I'm not aware of the AS/400 version of DB2 doing this.
Kent