I have tried a named variable, but it eludes me.
The report is something like this:
Code: Select all
Report ID: 12345 PAGE 1
BANK NO. 0000123 TEAM NO. 000 RECONCILIATION REPORT DATE 06/02/11
ACCOUNT NO. 0100012345 CLINIQUE REPORT MISC-CREDITS AS OF 05-31-11
C SERIAL CHECK AMOUNT DATE DATE SEQ PAYEE C SERIAL CHECK AMOUNT DATE DATE SEQ PAYEE
This is a long report that lists a fixed set of reports for each account. I managed to split the file at the beginning of each set of reports by account number.
Now I want to name the files as per the Account number.
I am clueless