Skip to Content
Former Member
Nov 15, 2006 at 03:40 PM

Reading a file using open dataset, read dataset returing one long string


We are running SAP 4.5B on an AS400. After running the check extract creation program RFCHKE00 and file is placed in the IFS. Using open dataset input in text mode and read dataset into, I am having a problem where the read brings in one record for the entire file. The SAP file is 128 bytes but the read dataset does not recognize the individual records, I think the file does not contain end of record characters. Is there a better way to retreive the file?