× 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 have a little RPG program that is chewing on a file.  The file is an
externally described physical file, but I want to chew on it with a
program described record I/O.  The file has null values in some of the
fields in some of the records.  The program blows up when it tries to
read a record which has nulls.

For example - I have an externally described file with three fields, 10
bytes each.  I set up the file as program described, record length 30.
I create a DS in the program record length 30.  When I read the record
with some nulls, the program bombs.

Any ideas?  In this instance I can't use the file as externally
described.  Trust me on this.  What I'm trying to do is read the record
in as a 30 byte chunk and write it out to an identical file as a 30 byte
chunk.

I can't get at PUBLIB today...

Thanks...

********************************************************
Go... FASTER!  Without an Upgrade!
ARCTOOLS/400(tm) and ReorgWizard(tm)
http://www.arctools.com
DCSoftware, Inc.
Ph: (508) 435-8243
Fax: (508) 435-4498
********************************************************



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.