[CMS-PIPELINES] Trying to use the Locate

2014-07-23 Thread Miguel Soltero Diaz
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

Re: [CMS-PIPELINES] Trying to use the Locate

2014-07-23 Thread Miguel Soltero Diaz
I added the Stage character before the last b:... didn't make a difference...

Re: [CMS-PIPELINES] Trying to use the Locate

2014-07-23 Thread Ronald van der Laan
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

Re: [CMS-PIPELINES] Trying to use the Locate

2014-07-23 Thread Rob van der Heij
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

Re: [CMS-PIPELINES] Trying to use the Locate

2014-07-23 Thread Mike Walter
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 ?)’ , ‘|

Re: [CMS-PIPELINES] Trying to use the Locate

2014-07-23 Thread Michael Harding
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