Hi guys,
I am a new plumber, and hitting some bumps...
I am trying to select only records with 0690 or 1090 from a file and move the
records to a second file.
So I literally copied Locate example 5 from the Reference...
I just appended the last line... and got...
FPLSCB027E Entry point
I added the Stage character before the last b:...
didn't make a difference...
Miguel,
What you do right now, is give the 0690 records to the primary input of
logbyftp and give the 1090 records to its secondary stream.
Then you discard its primary output, but write its secondary output to the
file.
Only, pipes can't find a logbyftp pipestage.
Please look at the all stage
In that case you'd be better off using 'lookup' like this:
input file
| l: lookup 29.4 1.4 detail
| cons
\ literal 0690 1090 ... | split | l:
Rob
On 23 July 2014 23:10, Miguel Soltero Diaz mig...@live.com wrote:
Thanks Ronald...
I tried the All Stage, and worked excellent!!!
I am trying
Miguel,
Sir Rob The Plumber is one of z/VM's Master Plumbers, and a generous VM
Community contributor.
With some explanatory comments (stage names and arguments UPPERCASE to
distinguish them from variable text, default arguments included) , Rob's sample
again:
‘PIPE (ENDCHAR ?)’ ,
‘|
I think you're expecting the results to flow out of the bottom of the
pipe. If you moved the stage after the faninany (dropping the : a2
connection) you'd probably have what you want. That after all is where
you're feeding the records selected by the locates.
--
Mike Harding
z/VM System