support of delete rename function in Dataset Pipes ?

Discussion of the Co:Z Toolkit Dataset Pipes utilities
Post Reply
Joe
Posts: 4
Joined: Thu Jul 13, 2006 2:48 am
Location: Germany

support of delete rename function in Dataset Pipes ?

Post 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
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post 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.
john.mckown
Posts: 48
Joined: Tue Jun 12, 2007 2:46 pm

Post 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!
Post Reply