You can run the commands from a script external of tsm. Something like perl, rexx, A unix shell, or windows powershell. You can run the dsmc command from the script where the script process the output of the command, the script would then build one or more scripts to be run from within the script.
len -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Stephan Boldt Sent: Wednesday, December 10, 2008 7:13 PM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] piping commands in dsmadmc Hello, is there any way to pipe use the output of one command as an input of another? For example if I want to cancel a running space reclamation of a certain storagepool. So I first have to get the process number and cancel this process. What I'm looking for is something like this: select process_num from processes where process='Space Reclamation' and status like '%TAPE_FILESYSTEM%' | cancel process Obviously this doesn't work, but is there another way to get this done? kind regards, Stephan