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

Yet an other idea:
What if your create an external described physical file with a single null
capable field.
Add this physical file as external described data structure in your program
and read your data into this data structure.

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"



-----Ursprüngliche Nachricht-----
Von: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von Peter Dow (ML)
Gesendet: Sunday, August 12, 2007 22:42
An: Midrange Systems Technical Discussion
Betreff: Re: AW: Handling null-capable fields with program-described
file--reading externally described using program defined layout


Thanks Chuck. Good thought, but it didn't work. I tried with with the
first file I could think of and it didn't work, but then I realized that
file had no null values (and no null-capable fields) so I tried it with
the file that's actually causing the problem, but sad to say it didn't
work. One of these days I'll get around to using the C apis...

*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
pdow@xxxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxxx> /

CRPence wrote:
I was just thinking [I have not tried this, nor the originally
given
scenario], what about adding any externally described file to the
F-Specs [and maybe also add a user open which is never performed]? Just
possibly, the compiler ignores the request to override the database file
open option because there are no externally described files declared,
versus more likely, that the specific open is declared as being program
described.

Regards, Chuck


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.