Thank-you for the help.
I have fixed the reply to in my email account so that people clicking reply
on my email in the list will send the reply to the list :-)
There was a lot of similar code and what I have ended up with is
'pipe (endchar ?) < VMTAPE CONFIG A',
'| ca: chop after blank',
'| ja: juxtapose',
'| specs w1 1 w2 nw',
'| sort unique',
'| stem config.',
'?',
'ca:| split | ja:'
There was also a suggestion to use FANINTWO which doesn't appear in PIPES
HELP but does in the authors help.
Graeme
----- Original Message -----
From: "Graeme Moss" <[email protected]>
To: <[email protected]>
Sent: Friday, January 09, 2009 10:34 AM
Subject: Logic error - please help
I am writing a piupeline that reads records in the format <attribute> <list
of users> where the list of users may be one or many and write out a record
for each user consisting of <attribute> <user>
The code I wrote shown below terminates while some partially processed
records are in the pipeline (and get displayed on console). Please offer
advice or code snippet.
Thanks
Graeme
'pipe (endchar ?) < VMTAPE CONFPROD A',
'| append literal $STOP$ $STOP$ $STOP$'||,
'| f: faninany',
'| elastic',
'| n: nlocate w3',
'| specs w1 1 w2 nw',
'| sort',
'| unique',
'| > users confprod a',
'?',
'n:',
'| t: tolabel $STOP$'||,
'| specs w1 1 w2 nw write w1 1 w3-* nw',
'| f:',
'?',
't:',
'| console'