ottbot Thanks a million that makes a lot more sense! I read sever al webpages on this and never found anything about the difference in RECL between formatted and unformatted. Do you have a link?
My shell script just dose
[code]
echo $i >> file.dat
[/code]
where "i" is between 0 and 9 so only ever one character long nd the file looks like this for example
[code]
1
5
2
2
9
3
4
[/code]
so it looks like I should beable to do a formatted read with RECL=1 and then pick out the record I want.
ottbot Thanks a million that makes a lot more sense! I read sever al webpages on this and never found anything about the difference in RECL between formatted and unformatted. Do you have a link?
My shell script just dose
[code]
echo $i >> file.dat
[/code]
where "i" is between 0 and 9 so only ever one character long nd the file looks like this for example
[code]
1
5
2
2
9
3
4
[/code]
so it looks like I should beable to do a formatted read with RECL=1 and then pick out the record I want.