Date:         Thu, 5 Oct 1995 09:07:27 -0800
Reply-To:     The NOMAD2 Discussion List
Sender:       The NOMAD2 Discussion List
From:         Don DeCosta
Subject:      Re: Duplicated records in master with externalfile

> - when listing or dbediting the master, each record followed by an empty line
 in
> the external file is duplicated in the Nomad2 master.

Actually what's happening is when reading an external file with
varying record lengths, NOMAD will fill a short record with the data
from the previous record. For example if you have two records:

FIRST LONG RECORD
the short record

NOMAD will list the second record as "the short recordCORD"

Either insure that your external report file has all records the same
length (like force a char in column (reportwidth+1) and declare an A1
DUMMY item at the end)

Or,  change your external schema to

ITEM REPORTCHARS(0) AS A1;
DEFINE REPORTLINE AS A255 = STRING(REPORTCHARS);

This will only work if you are treating each record as a single item,
of course doing the above in an interim create is a good way of
getting a char in column (reportwidth+1) and then use the first
solution above.

Good Luck!
Don DeCosta
DonD@crl.com
back to index