Do the odd characters occur every time? Are they at the end? Or are they in the middle?
The picture shows the odd characters interrupting a value
.interrupted in middle of a date
Does the rest of the interrupted value follow the odd characters?
How does excel show that value and the one(s) that should follow it?
How big does Windows think the file is, and how big should it be?
Here's a JSL snippet that you can adjust to show the data before and after the odd characters happen:
loadtextfile("$sample_data/../import data/bigclass.txt",
blob(readOffsetFromBegin(200), // start 200 bytes into the file
readLength(10))); // read 10 bytes
// Char To Blob( "6~0967~0D~0AJOHN", "ascii~hex" )
Change the 10 byte length to 100 and change the 200 to capture 50 bytes before and after the change.
The readOffsetFromBegin and readLength values that you use might help answer the question too.
Does the odd data always begin at the same position?
I suspect something changed in the process that creates the file. Using Notepad to view the file will tell if JMP is the only program having trouble reading it. The diamond character with the question mark is the Unicode Replacement Character and is either (1) the actual character in the file or (2) the character JMP is using to display an invalid byte sequence in the file. The hex data from the loadtextfile example will help answer that question.
What sort of machine or process makes the file? How is the file transferred to the computer JMP is using? Is there a possibility the process is interrupted before a file transfer is completed?
Craige