On Wednesday, 01/05/2011 at 07:45 EST, Sergio Lima <sergiovm...@hotmail.com> wrote:
> As I learned in this list, I'm trying to use PIPE in some cases instead REXX. > : > Looking in the Manual CMS PIPELINES REFERENCE, Can't see how get the Return > Code. While you are getting good answers from Kris and others, let me explain that there was no error in your pipe, so there is no non-zero RC. The locate stage will send to its primary output stream all records that contain the string. If no records contain the string, no records are sent to the primary output stream. This is why Kris suggested counting the number of records in the primary output stream. Alan Altmark z/VM and Linux on System z Consultant IBM System Lab Services and Training ibm.com/systems/services/labservices office: 607.429.3323 alan_altm...@us.ibm.com IBM Endicott