|
I wont go into the detailed explanation of why this is so, but I will give you the work around that I use. Define a data structure like the following: d e ds extname(FILE) prefix(d_) Then, in your like statement, refer to d_FIELD. This way, the internal definition will be the same as the external one. This is not the only solution, but it is simple and it works. If you want more detail as the why and how, I am sure that you can find it in the archive. Denis Robitaille Directeur services technique TI 819 363 5187 >>> Lim.Hock-Chai@xxxxxxxx 04/28/03 04:50pm >>> Help! I got a file that contains a ZONE decimal field. I also got a sub-procedure that accepts one parm and this parm is declared with the LIKE keyword that reference the ZONE field in the file. The problem is that the compiler keeps create the field as pack. Any idea? _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.