Page 1 of 1

support of delete rename function in Dataset Pipes ?

Posted: Sat Jul 15, 2006 8:43 am
by Joe
Hello,
we currently use ftp and looking for a secure ftp solution. Dataset Pipes looks very interesting alternative for us. Please can you tell us, if Dataset Pipes
supports commands to delete ore rename Datasets ?
Best regards,
Jose

Posted: Mon Jul 24, 2006 12:23 pm
by dovetail
dspipes doesn't support deletes or renames but you can use ssh to remote execute a Unix command or shell script to delete or rename a dataset. A couple of ideas for doing this from Unix shell commands are:

1) the "tso" shell command lets you issue TSO commands
2) you can write shell scripts in REXX

Let us know if you need more help or examples.

Posted: Fri Jan 25, 2008 4:22 pm
by john.mckown
Do you want to delete/rename z/OS datasets or files on the remote system? If it is a z/OS dataset, then use normal methods such a TSO, IDCAMS, or JCL for some examples. If the files are on the remove server, look at the free Co:Z which can execute commands such as "rm" or "mv" on the remote server.

I just tested a Co:Z which used fromdsn to copy data to a Linux/Intel system, then invoke a Linux shell script which processes that data, loading it into a database. Worked like a charm. I had done this previously by using NFS to transfer the data, followed by a z/OS UNIX shell which invoked ssh to run the script. Co:Z is easier to understand and significantly faster in moving the data! NFS is a dog!! An old, lazy dog!