Hi,
I'm executing the following to change loan numbers within a record.
A loan number can occur multiple times within a record and can be unsigned comp-3 and/or character.
The input file is VB 8192 and contains thousands of different record types.
The positions of the loan number/s within the records depends on the record type.
The FINDREP option below is simple and works OK but takes a long time to execute.
A couple of questions:
If the size of a record is say only 200 bytes, does the FINDREP stop at 200 bytes or continue to byte 8192?
Does each record get processed multiple times? i.e., in my case 4000 times.
OPTION COPY
INREC FINDREP=(INOUT=(C'0000000969907',C'0004000017999',
X'0000000969907F',X'0004000017999F',
C'0000000973130',C'0004000018007',
X'0000000973130F',X'0004000018007F',
C'0000000986943',C'0004000018018',
X'0000000986943F',X'0004000018018F',
...
... Repeated for a total of two thousand loan numbers
...
C'0000020840138',C'0004000044743',
X'0000020840138F',X'0004000044743F',
C'0000020842571',C'0004000044765',
X'0000020842571F',X'0004000044765F',
C'0000020850731',C'0004000044776',
X'0000020850731F',X'0004000044776F'))