Consider the following declarations:
DataItem myItem CHAR(4) end Record mySerialRecordPart type serialRecord { fileName="myFile" } 10 name CHAR(20); 10 address; 20 street01 CHAR(20); 20 street02 CHAR(20); end
As shown, you must specify a primitive type when you declare these entities:
You may specify the primitive type of a substructured structure item like address. If you fail to specify the primitive type of such a structure item but you reference the structure item in your code, the product makes these assumptions:
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.