> Example 2: I remove the HOLE stage and use SET CMSTYPE HT > RelList='C E F G H I J K L M N O P Q R T U' > 'SET CMSTYPE HT' > 'pipe var RelList' , > '| split ' , > '| spec /RELEASE/ 1 W1 nw /(detach/ nw' , > '| CMS' > 'SET CMSTYPE RT' > > Neither method suppresses the output. Am I doing something wrong? Can > someone suggest a method to suppress output? > Thanks, > Steve
Neither CMS Pipelines nor CMSTYPE HT are aware that the RELEASE will under the covers issue a CP command that produces output. If you do the DETACH yourself through "cp" you can have CMS Pipelines intercept (and discard) the output. I would do something like this, but that may be throwing you in the deep... Untested (and you'd have to do the quotes in REXX) PIPE (end \) \ var RelList | split | o: fanout | spec /RELEASE/ 1 w1 nw | command \ o: | spec /QUERY DISK/ 1 w1 nw | command | nlocate w4 ,STAT, | nlocate w2 ,DIR, | spec ,DETACH, 1 w2 nw | cp Or I would probably issue a QUERY DISK once and use "lookup" to find the ones to release, and then build CMS and CP commands... :-) Rob Tenzij hierboven anders aangegeven: / Unless stated otherwise above: IBM Nederland B.V. Gevestigd te Amsterdam Inschrijving Handelsregister Amsterdam Nr. 33054214
