0 pts.
 Why can’t create a physical file has more than one record format ?
After I coded 'A' spec for multiple record format physical file like this R REC1 MBRID 9A REV 41A R REC2 MBRNM1 50A The joblog (after compiled) said ID Severity Number * CPD7914 30 1 Message . . . . : File contains more than one record format Could you please investigate and let's me know how to solve this situation ?

Software/Hardware used:
ASKED: October 26, 2007  7:06 AM
UPDATED: February 17, 2010  9:38 AM

Answer Wiki:
You could create 2 physical files, each with 1 format, then create a logical file over the 2 physical files. When you access the logical file you can read both record formats from the 2 physical files. Kevin A physical file or a join logical file can only have one format. Hard to tell by your code what you are trying to accomplish. ======================================================= You can't create a physical file with more than one format because physical files are defined as having only one record format. If you need multiple record layouts, use program described files. This is a fundamental aspect of essentially all relational tables. Do you know of <i>any</i> relational DBMS that supports CREATE TABLE with multiple row definitions? Tom
Last Wiki Answer Submitted:  February 17, 2010  9:38 am  by  kevleemor   605 pts.
All Answer Wiki Contributors:  kevleemor   605 pts. , WaltZ400   645 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _