Look at HELP PIPE FILERAND on your old system. It differentiates between first and not first stage. The main difference being that if it is not first, it does what the parameter string says to do and then starts reading record numbers from its primary. It reads the specified records and writes them to its primary output. The operation to write the records is FILEUPDA. PIPE AHELP does say that FILERAND and DISKRAND are synonyms.
Regards, Richard Schuh > -----Original Message----- > From: CMSTSO Pipelines Discussion List > [mailto:[email protected]] On Behalf Of DUGALEIX Michaël > Sent: Tuesday, December 22, 2009 4:14 AM > To: [email protected] > Subject: Re: Keeping only records number 1, 1+N, 1+2N, ... > > Rob, > > I was reading the help available on my VM/CMS with "pipe ahelp ...". > > For example : > "pipe ahelp <" mentions : Placement: "<" must be a first stage. > "pipe ahelp >" mentions : Placement: ">" must not be a first stage. > > Whereas "pipe ahelp diskrand" doesn't say anything about a > "Placement". > Which I could interpret (or not ?) in "diskrand does NOT have > to be the first stage, unlike <". > > For the "CMS Pipelines Author Edition", do you mean > http://vm.marist.edu/~pipeline/ ? > And for example, the help file of diskrand being > http://vm.marist.edu/~pipeline/bhelp/ACH0145.html ? > > John, > Sorry, my "old" pipeline version (1.0110) doesn't know your > "pick + from" ;-) (and it didn't like either the "substr" > stage of Rob ^^) I'll have to install locally the latest > pipeline module to run your code. > > Thanks to you both for your help. > Michaël > > >> But I would never have thought of your second solution (I > thought "diskrand" > >> had to be the first stage in a pipeline; In fact, I never really > >> noticed the "Placement" note in the stages' help; The > placements are > >> not as obvious as I thought they were ...). > >> > > > > I'm not sure what the "placement" note is that you refer > to. Worried > > that you might be using the CMS manual, I looked there but > did not see > > it either (those "Usage Notes" seem to tell more about the > person who > > wrote the book than about the product). Just in case, if > you have not > > done so yet: get yourself for x-mas a copy of CMS Pipelines Author > > Edition (from the CMS Pipelines home page). > > > > Yes, it's normal to find new things each time you go > through the book > > or help files. The amazing thing is that often they turn out to be > > where you expected them... I never noticed the "count" option on > > "pick" that The Piper suggested. While that approach to use "pick" > > for generating the series 1, 1001, 2001 ... is a bit silly, > I'm sure I > > will find ways to use it ;-) > > > > Rob > > >
