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