I am having a problem pulling required info from a file.
There are thousands of records on this file. I have only included 2.
Here is an example of the file:
00000 (Beginning of one of many records)
00001 (some data)
00002 (some data)
00003 (account name)
00004 (some data)
00005 (some data)
99999 (End of this record)
00000 (Beginning of next record)
00001 (some data)
00002 (some data)
00003 (account name)
00004 (some data)
00005 (some data)
99999 (End of this record
etc..., etc....
What I need to do is pull all 00000 to 99999 records
that have a specific account name only and put these records out to a new file.
Account name always has 00003 as it's identifier.
Does someone have any idea if this can be accomplished???
And if so how?????
Thanks in advance.
Rich.
There are thousands of records on this file. I have only included 2.
Here is an example of the file:
00000 (Beginning of one of many records)
00001 (some data)
00002 (some data)
00003 (account name)
00004 (some data)
00005 (some data)
99999 (End of this record)
00000 (Beginning of next record)
00001 (some data)
00002 (some data)
00003 (account name)
00004 (some data)
00005 (some data)
99999 (End of this record
etc..., etc....
What I need to do is pull all 00000 to 99999 records
that have a specific account name only and put these records out to a new file.
Account name always has 00003 as it's identifier.
Does someone have any idea if this can be accomplished???
And if so how?????
Thanks in advance.
Rich.