Thanks! > Shouldn’t Arg(1) be something like Arg(n) ? Seems like your processing the > same file regardless of the number of arguments specified.
ReadOneLogFile is called multiple times with one argument each time. Arg(1) is always "the" file to read. > Where is the error occurring? On "read" Filefd "record" LogFileRecLen Oh, by the way, LogFileRecLen is 20 and the read works for hundreds of records in the first file. > FileOpen: PROCEDURE EXPOSE FileFd In the absence of PROCEDURE, all variables are exposed. Charles ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
