Pipe "FIND" Stage difference

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Pipe "FIND" Stage difference

Jeff Hennick-3

In CMS pipelines, the FIND stage works like the XEDIT command.  Space characters are "wildcards," and there can be only a single space between the command and the string or the extra spaces will act as wildcards.

In njPipes however, any spaces between the command and the string are stripped out before the stage program sees the string.  Consequently it is impossible to search for strings with leading wildcards with FIND.

The workaround is to use the STRFIND stage that uses a delimited string which can have leading space characters.

Incidentally, both of these stages have been updated for the next NetRexx release.

Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/