Split Files - Specifying file names
Posted: Sun Jun 26, 2011 9:50 am
I manage to split the input file where I want it. The only thing that I am missing is to be able to assing the filenames based on text within each section.
I have tried a named variable, but it eludes me.
The report is something like this:
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
Thank you
Othni
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
Now I want to name the files as per the Account number.
I am clueless
Thank you
Othni