Just one possibility:
'PIPE (end ?)',
'F3: FrTarget Locate /this is file3/|> FILE 3 A',
'?F3:',
'|F2: FrTarget Locate /beginning of file2/|> FILE 2 A',
'?F2:|> FILE 1 A'
Kris Buelens,
--- freelance z/VM consultant, Belgium ---
-----------------------------------------------------------------------
2015-10-06 19:16 GMT+02:00 Rick Barlow <[email protected]>:
> I want to take a single file and split it into multiple files based on a
> string in the data. I don't know how many parts are in the original file.
> The string is not necessarily at the beginning of a record.
> Example:
>
> This is file 1
> rec1
> rec2
> This is the beginning of file 2
> f2rec1
> f2rec2
> f2rec3
> f2rec3
> This is file 3
> f3rec1
> f3rec2
> I want to end up with 3 files. I know I can use fromtarget locate /file/. I
> haven't been able to find a way to go totarget locate /file/ because it
> does not select anything. I also haven't been able to come up with a way to
> do this recursively. I know that I am probably overlooking something
> relatively obvious. Any suggestions would be appreciated.
>
> Rick Barlow
> Nationwide Insurance
>