Use the SQL Rename command to make everyone happy: "The following SQL code makes everybody happy because it defines a 'static' short 10-character name for the tables (and record-format and member and columns), AND it allows the Java programmers to have their descriptive long name.
CREATE TABLE LongName (
LongFieldName1 FOR COLUMN LFN1 INTEGER NOT NULL,
LongFieldName2 FOR COLUMN LFN2 CHAR(3) NOT NULL,
CONSTRAINT LongFileName0
PRIMARY KEY (LongFieldName1)
);
RENAME TABLE LongName TO LongTableName FOR SYSTEM NAME LongName; "
Monday, January 31, 2005
Subscribe to:
Post Comments (Atom)
Popular Posts
- AS400 Job Scheduler
- Free AS400 & iSeries Software Tools & Utilities Downloads
- Creating an as400 Query
- as400 Iseries Tips
- API Example - Deleting Old Spooled Files
- What is QZHQSSRV job?
- Raj Blogs: Common UNIX Commands
- MobileTracker - Cingular announces EDGE Wireless WAN service
- Difference between SFLINZ and SFLCLR keyword?
- Mainframes and their staying power
No comments:
Post a Comment