×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Hi -
On Tue, 4 Sep 2007 13:06:57 -0500, "Lim Hock-Chai"
<Lim.Hock-Chai@xxxxxxxxxxxxxxx> wrote:
(Because most programmers here are likely to use extname of the physical
file as the third parameter, I need to make sure that the likerec and
extname produce exact same DS).
Your code only ensures that they occupy the same storage. It does not
in any way ensure that they have the same fields with the same
attributes and positions.
In this situation I would probably have just the PF data structure
defined with EXTNAME. Clear the data structure. Chain to the
appropriate logical file without specifying a data structure on the
chain.
Without data structures on the chains, the records will be processed
field by field. If there are any fields in the physical but not in
the logical, the data structure fields will keep the value set by the
clear. If there are any fields in the logical but not in the
physical, the values in those fields will not appear in the data
structure.
Ken
http://www.kensims.net/
Opinions expressed are my own and do not necessarily represent the views
of my employer or anyone in their right mind.
As an Amazon Associate we earn from qualifying purchases.