That looks like it. The prog that has it as zoned includes a /copy of a DS in which OHINV is defined just like the file, zoned. So it changed from the file definition version to packed, except that there is a DS that reaffirms it being zoned so it does not change it to packed.

Verified by putting the DS in the program that changed it to packed, it now does not change it to packed.

Agreed on the reliability of the outline.

Really surprised I have not encountered this problem before when expecting parm data to maintain type using LIKE.

Thanks.



Buck Calabro <kc2hiz@xxxxxxxxx> 2/14/2018 4:29 PM >>>
On 2/14/2018 5:24 PM, Buddy McClean wrote:
What started this was passing a parm between 2 programs. Both using the same file and field as the base of the LIKE. Both programs used I619 Like(OHINV) - one program would pass I619 as zoned and the other would read it in as packed, so the call would crash because of it.
I think of the Outline View as a work in progress. If it seems
snookered, I revert to the compiler listing.

With respect to the mis-matched parameter definition, make sure OHINV
isn't in a data structure, because that will override the Db2 definition.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.