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
- 80 Column Punched Cards and the History of RPG on the AS400
- Using QCLRDTAQ to clear data queues in CL and RPG
- AS400 APIs
- Make a Home made, open source mp3 Player
- Contact Us
- What is QZHQSSRV job?
- Encrypt Data on as400 (QC3ENCDT, Qc3EncryptData)
- QUSRJOBI API (Retrieve Job Information) as400
- AS400 Job Scheduler
- API Example - Deleting Old Spooled Files
No comments:
Post a Comment