R
Rudi
Hi!
For record-IO I have to specific the correct LRECL and RECFM on fopen,
e.g.
fileptr=fopen(DDNAME,"type=record,recfm=fb,lrecl=80")
and later fread with
fread(LINE, 1, 80, fileptr )
If LRECL or RECM is wrong:
EDC5087I The specified file characteristics did not match those of the
existing file.
Since I cannot open the file with compatible Attributes like
recfm=vb,lrecl=32760, I have to retrieve these file characterics in
advance.
How?
Thanx for any hint, Rudi
For record-IO I have to specific the correct LRECL and RECFM on fopen,
e.g.
fileptr=fopen(DDNAME,"type=record,recfm=fb,lrecl=80")
and later fread with
fread(LINE, 1, 80, fileptr )
If LRECL or RECM is wrong:
EDC5087I The specified file characteristics did not match those of the
existing file.
Since I cannot open the file with compatible Attributes like
recfm=vb,lrecl=32760, I have to retrieve these file characterics in
advance.
How?
Thanx for any hint, Rudi