If there's only one thing to change per line (maximum, or limit) I always use DO=1 on the FINDREP.
If there's a limit to where the data can start, end, or both, there's STARTPOS and ENDPOS. Use IFTHEN=(WHEN=(logicalexpression) to only allow the FINDREP to operate on the expected records. This can avoid "false hits" and since the condition is likely faster than looking at all the bytes for a length of eight, a bit zippier to (won't matter here, probably, but in general). ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
