:[EMAIL PROTECTED]
Behalf Of Kris Buelens
Sent: Tuesday, March 06, 2007 1:16 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Realy simple pipe insert ?
If you have some time to learn by reading: our PIPES telecourse on
http://www.vm.ibm.com/download/packages/descript.cgi?TCVM2
http://www.vm.ibm.com
@listserv.uark.edu
To
IBMVM@listserv.uark.edu
cc
Subject
Re: Realy simple pipe insert ?
Thank-you Kris,
I downloaded this course and have been going through it.
It appears to be an excellent course.
As they say 'give a man a fish and you feed him for a day, teach him to
fish and you feed him
.
-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]
Behalf Of Marty Zimelis
Sent: Tuesday, March 06, 2007 1:09 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Realy simple pipe insert ?
Modify the SPECS stage to
'SPECS /ORANGES/ 1 write 1-* 1 |',
emiting
, 2007 9:17 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Realy simple pipe insert ?
This is so cool I am getting you guys to write my pipe and I am getting
paid for it.
NOW .. Let's suppose that sometimes there is a PRUNE following that
APPLE. I don't want to mix PRUNE's with APPLES and ORANGES so
Frequently plumbing is easier to operate on a record rather than a set
of records. Most of us will resort to some kind of sipping pipeline
that operates on such a single set (rather than a stream of sets).
If you need something that will look at two adjacent records, it
sometimes helps to do
Thanks Rob,
Nice explaination too.
I'll go away now.
-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]
Behalf Of Rob van der Heij
Sent: Wednesday, March 07, 2007 9:05 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Realy simple pipe insert ?
Frequently
I want to do a simple insert of a record into the stream.
pipe test file a | locate /APPLES/ .| here I want to insert a literal
ORANGES | new file a
_
ella for Spam Control has removed 10443 VSE-List messages and set
aside 8563 VM-List for me
You can use it too - and it's FREE!
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Huegel, Thomas
Sent: Tuesday, March 06, 2007 12:27 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Realy simple pipe insert ?
I want to do a simple insert of a record into the stream.
pipe test file a | locate /APPLES
@LISTSERV.UARK.EDU
Subject: Re: Realy simple pipe insert ?
PIPE test file a |,
locate /APPLES/ |,
specs 1-* 1 write /ORANGES/ 1 |,
new file a
Jim Hughes
603-271-5586
There's no sense in being precise when you don't even know what you're
talking about.
John
: Realy simple pipe insert ?
I want to do a simple insert of a record into the stream.
pipe test file a | locate /APPLES/ .| here I want to insert a literal
ORANGES | new file a
_
ella for Spam Control has removed 10443 VSE-List messages and set
aside 8563 VM-List for me
You can use
: Realy simple pipe insert ?
I'm guessing you didn't give us the full request. I assume that records
without the string APPLES pass unchanged. Records with the string APPLES:
do you want to replace the string or the entire record with ORANGES? Or do
you want to insert a new record (ORANGES
even know what you're
talking about.
John von Neumann
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Huegel, Thomas
Sent: Tuesday, March 06, 2007 12:41 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Realy simple pipe insert ?
Jim
*From:* The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]
*On Behalf Of *Huegel, Thomas
*Sent:* Tuesday, March 06, 2007 12:27 PM
*To:* IBMVM@LISTSERV.UARK.EDU
*Subject:* Realy simple pipe insert ?
I want to do a simple insert of a record into the stream.
pipe test file
System [mailto:[EMAIL PROTECTED]
On
=Behalf Of Don Russell
=Sent: Tuesday, March 06, 2007 12:48 PM
=To: IBMVM@LISTSERV.UARK.EDU
=Subject: Re: Realy simple pipe insert ?
=
=The original request said they wanted to insert *a* record into the
=stream... Your suggestion will insert a record for each record
Of Huegel, Thomas
Sent: Tuesday, March 06, 2007 9:44 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Realy simple pipe insert ?
Marty,
Yes I want to pass the entire file to 'new file a' and insert ORANGES
before APPLES.
Thanks
-Original Message-
From: The IBM z/VM Operating
Subject: Re: Realy simple pipe insert ?
I'm guessing you didn't give us the full request. I assume that records
without the string APPLES pass unchanged. Records with the string APPLES:
do you want to replace the string or the entire record with ORANGES? Or do
you want to insert a new record
: ',
'| NEW FILE A'
-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]
Behalf Of Hughes, Jim - OIT
Sent: Tuesday, March 06, 2007 11:55 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Realy simple pipe insert ?
Hi Don,
I
Subject: Re: Realy simple pipe insert ?
Assuming there aren't any compound versions of APPLES in the
input file (like SNAPPLES):
'PIPE INPUT FILE A | change /APPLES/ORANGES APPLES/ | NEW
FILE A'
Mark Llewellyn
VISA USA
PIPE literal D'oh! | console
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of McKown, John
Sent: Tuesday, March 06, 2007 10:09 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Realy simple pipe insert ?
You've all fallen
You've all fallen for it! It is a well known fact that you cannot mix
APPLES and ORANGES. Won't work.
Add a tablespoon of cinnamon, two tablespoons of light brown sugar per apple
and orange, and a jigger of really good brandy, and heat on low. Add
teaspoons of honey slowly until you get a
: Tuesday, March 06, 2007 1:07 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Realy simple pipe insert ?
This works pretty good.
There shouldn't be multiple APPLES, but if there is it is OK to add 1
ORANGES for each APPLES.
But how do I get the ORANGES to get inserted BEFORE apples?
'PIPE TEST FILE
You've all fallen for it! It is a well known fact that you cannot mix
APPLES and ORANGES. Won't work.
Add a tablespoon of cinnamon, two tablespoons of light brown sugar per apple
and
orange, and a jigger of really good brandy, and heat on low. Add teaspoons of
honey slowly until you
I think this should be really simple, but the brain doesn't seem to be
working this morning.
I have this little pipe, and the last stage is '|VAR NEWNAME'.
How can a be sure NEWNAME is being set to '' (null) if nothing makes it that
far through the pipe?
'PIPE FILERAND TOM222 PLI A 1-10',
'|
On 2/28/07, Huegel, Thomas [EMAIL PROTECTED] wrote:
How can a be sure NEWNAME is being set to '' (null) if nothing makes it that
far through the pipe?
The classic probably is ... | append literal | var newname
But more exciting is to look at what you're going to do with it after
than and
Subject: Simple PIPE ?
I think this should be really simple, but the brain doesn't seem to be
working this morning.
I have this little pipe, and the last stage is '|VAR NEWNAME'.
How can a be sure NEWNAME is being set to '' (null) if nothing makes it
that far through the pipe?
'PIPE
System IBMVM@LISTSERV.UARK.EDU
02/28/2007 10:22 AM
Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU
To
IBMVM@LISTSERV.UARK.EDU
cc
Subject
Re: Simple PIPE ?
On 2/28/07, Huegel, Thomas [EMAIL PROTECTED] wrote:
How can a be sure NEWNAME is being set to '' (null
On: Wed, Feb 28, 2007 at 09:16:38AM -0600,Huegel, Thomas Wrote:
} I think this should be really simple, but the brain doesn't seem to be
} working this morning.
} I have this little pipe, and the last stage is '|VAR NEWNAME'.
} How can a be sure NEWNAME is being set to '' (null) if nothing makes
On 2/28/07, Macioce, Larry [EMAIL PROTECTED] wrote:
I don't know pipes well, but I would set newname to null first everytime
then what happens happens
Sure? I would expect CMS Pipelines to drop the variable when no record
flows there.
Rob
On 2/28/07, Mike Walter [EMAIL PROTECTED] wrote:
'| VAR newname TRACKING'
Cheating ! ;-)
Since the var stage will also pass the records along, I sometimes do
it like this:
...
| var response
| take | count lines | var worktodo
if worktodo then ...
Rob
@LISTSERV.UARK.EDU
Subject: Re: Simple PIPE ?
This works for me.
Newname = ''
'PIPE FILERAND TOM222 PLI A 1-10',
'| FIND --CATAL= ',
'| TAKE FIRST 1',
'| SPECS 9.9 1',
'| STRIP',
'| VAR NEWNAME tracking
02/28/2007 10:53 AM
Please respond to
The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU
To
IBMVM@LISTSERV.UARK.EDU
cc
Subject
Re: Simple PIPE ?
On 2/28/07, Mike Walter [EMAIL PROTECTED] wrote:
'| VAR newname TRACKING'
Cheating ! ;-)
Since the var stage will also pass the records
31 matches
Mail list logo