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

On Fri, 20 Jan 2017 16:09:48 +0000, Danny Hayes
<Danny_Hayes@xxxxxxxxx> wrote:

The program fills up all of the fields for the write, this is when I need to 'store' the record so it is not in any DS, because I cannot create a base DS due to the fact that several of the files used in this program have the exact same field names, so when it tries to create an externally defined DS it says this field is already define, you cannot use it here (sort of).

I'm confused about whether or not the fields to be saved are in a data
structure. Your original post implied that they are, however the
above implies that they are not.

If they are, you can save the data structure into a plain old
character field by just EVALing field = data_structure and restoring
by just EVALing data_structure = field. It's not necessary to save
the data structure into another data structure.

You can define the save field as LIKE the data structure so that the
length of the field will automatically follow the length of the data
structure.

Ken (retired)
Opinions expressed are my own and do not necessarily represent the views
of my previous employers or anyone in their right mind.


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.