40 Modernizing IBM Eserver iSeries Application Data Acess - A Roadmap Cornerstone
CREATE ALIAS MYSCHEMA/DECSALES FOR SALES(DECEMBER)
The existing HLL programs still keep running with the existing PF/LF files.
Use the CREATE TABLE .... LIKE statement to create multiple tables with the identical
column definitions.
CREATE TABLE MYSCHEMA.JANSALES LIKE MYSCHEMA.SALES
CREATE TABLE MYSCHEMA.FEBSALES LIKE MYSCHEMA.SALES
.....
CREATE TABLE MYSCHEMA.DECSALES LIKE MYSCHEMA.SALES
You need to modify the traditional programs to access new tables.
Multiple format logical file
Application developers who have been in the S/38, AS/400, and iSeries development arena
have been defining and using multiple format logical files for many years. Those developers
know the ...