× 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.



I don't know if the INZ is a workaround per se, as it is what is needed.

Sounds like the new field is numeric. The *output data structure has that field in it, but the data structure defaults all subfields to blanks. The Inz is needed so all of the fields in the data structure are set to their appropriate default values.

You could have the program specifically Clear the new field in the data structure, but Inz is the way I would go.

-Kurt

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of RPGLIST
Sent: Wednesday, April 10, 2013 8:29 AM
To: Midrange Systems Technical Discussion
Subject: Strange issue maybe you can help me with Mark

I've got a normal file (DDS created) that I added a new field to, and then recompiled. Everything fine so far.

I have a program that is writing data to this file but is not writing anything to the new field, the write occurs without hiccup. I should mention the write is being done like the following:

Write FileName MyDataDs;

The data structure is defined as an output file *Output.

I have a second program that is reading this file and its reading it into a data structure, but its throwing a 0404 error on the new field.

I found a workaround of INZ'ng the file when I write but is that really necessary?

How do I avoid this issue?


--
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/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 thread ...

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.