Re: PIPE locate question

2011-01-06 Thread Berry van Sleeuwen
I was close but not quite correct. Here is the result after testing: /* */ parse upper arg input 'PIPE (END ?) CP QUERY NAMES', /* Get UID's */ '| SPLIT at str /,/', /* split into lines */

PIPE locate question

2011-01-05 Thread Sergio Lima
Hello List, As I learned in this list, I'm trying to use PIPE in some cases instead REXX. Now, We need see from time to time, if some machines are running in disconnect mode. Then write this sample PIPE, that put in a file, all machines that is run in disconnect mode, and then try locate

Re: PIPE locate question

2011-01-05 Thread Kris Buelens
What about this: PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ , | sort 1-8 | mach disc a, || locate /x/ | console | count lines |Var NbFound If NbFound=0 then do say 'Nothing found for x' ; exit 67; end Remark that I made one big pipe of the 3 ones you used. There is

Re: PIPE locate question

2011-01-05 Thread Frank M. Ramaekers
, January 05, 2011 6:45 AM To: IBMVM@LISTSERV.UARK.EDU Subject: PIPE locate question Hello List, As I learned in this list, I'm trying to use PIPE in some cases instead REXX. Now, We need see from time to time, if some machines are running in disconnect mode. Then write this sample PIPE

Re: PIPE locate question

2011-01-05 Thread Sergio Lima
. This course is very good. Best Regards, Sergio Date: Wed, 5 Jan 2011 14:12:33 +0100 From: kris.buel...@gmail.com Subject: Re: PIPE locate question To: IBMVM@LISTSERV.UARK.EDU What about this: PIPE CP QUERY NAMES | SPLIT , | STRIP | LOCATE /- DSC/ , | sort 1-8 | mach disc

Re: PIPE locate question

2011-01-05 Thread Alan Altmark
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