I need to read from a text file. The file is a series of different records, each record with specific fields defined. The records are distinguished by the 3 and 4 characters of the record. I tried to use a FILEDEF statement to specify where the file was located, but for some reason I can't seem to connect to the file. Depending on how I try to read the file (with Dialog Manager or with a TABLE FILE ... statement) I either get an error saying there are no records on the file (whether or not I actually point to the file) or I get an error message saying the file is not found (again, whether or not I point to the actual file). Has anyone ever done this? Do you have an example?
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.