Re: [CMS-PIPELINES] Not-always-directly-sequential record references in PIPEs

2016-09-22 Thread Rob van der Heij
> Perhaps this would involve one of the more complicated usages of SPEC that > Mike alluded to? No, that works with the COUNT option of JUXTAPOSE, but you'd have to set the .0 entry too (I would probably write the .0 entry with each of them, like this: spec ,/, 1 w6 n ,., n 1.10 strip n ,/, n 1

Re: [CMS-PIPELINES] Not-always-directly-sequential record references in PIPEs

2016-09-22 Thread Stanislawski, Shawn (National VM Capability)
Flipping through the manuals, and testing it, that does seem to be easy enough. But rather than the number of entries per volume (Word1) , prepending the number of entries per subpool (Word6) would require... Well, I imagine after the JUXTAPOSE (so the Volser and Device-type are now part of

Re: [CMS-PIPELINES] Not-always-directly-sequential record references in PIPEs

2016-09-22 Thread Rob van der Heij
> Juxtapose. Beautiful! > > After that bit of processing, I'm left with records containing 6 > space-delineated words. > > Is it even possible to have PIPE append the record into a STEM where the > stem's name is Word6 in the record? Look at VARSET for that. Basically you create records that ca

Re: [CMS-PIPELINES] Not-always-directly-sequential record references in PIPEs

2016-09-22 Thread Stanislawski, Shawn (National VM Capability)
Juxtapose. Beautiful! After that bit of processing, I'm left with records containing 6 space-delineated words. Is it even possible to have PIPE append the record into a STEM where the stem's name is Word6 in the record? --Shawn S. -Original Message- From: CMSTSO Pipelines Discussi

Re: [CMS-PIPELINES] Not-always-directly-sequential record references in PIPEs

2016-09-22 Thread Rob van der Heij
The reason your approach did not work is that REXX substitutes the variable before the PIPE command is issued. CMS Pipelines does not know there even was a variable in your program. As Mike points out, JUXTAPOSE is the way to do this with a multi-steam pipe. PIPE (end \) ... | v: find *VOL

Re: [CMS-PIPELINES] Not-always-directly-sequential record references in PIPEs

2016-09-22 Thread Michael Harding
You could code some complicated conditionals and use counters in Specs, but much simpler: look into JUXTAPOSE. -- Mike Harding z/VM System Support /sp CMSTSO Pipelines Discussion List wrote on 09/22/2016 07:47:03 AM: > From: "Stanislawski, Shawn (National VM Capability)" > To: CMS-PIPELINES@V

[CMS-PIPELINES] Not-always-directly-sequential record references in PIPEs

2016-09-22 Thread Stanislawski, Shawn (National VM Capability)
I'm sure this has to be a very easy question, but unfortunately I'm still struggling with it. How can I turn this file (Original) : " *VOLUME: AA1A11 TYPE: 3390 UTILIZATION: 99% *FREE* 2 54 55 *FREE* POOLA *FREE* 2 194195