If I open a normal OMVS file with fopen(..,"r") and use fgets I get the
first line of the file.
However If this is a tagged file eg python file(in ascii)  so it has *ls -T
my.py* of IBM8859-1 , I get the whole file read in ( presumably because
there were no x15 characters to say end of line)
Are there any options I need to specify at fopen/fread/fgets which will
allow me to read the file line by line.
I'm thinking I'll have to read a big chunk from the file, convert ASCII to
EBCDIC, and search for x15 to split the line up

Colin

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to