I was just looking at the FTP exits. Mainly because, at work, we use an ISV
ftp server on the Windows side of the house. What is different about this
server is that it can be "scripted" so that when some event occurs (such as
storing or retrieving a specific file) a "script" can be executed.

Looking at
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.halz002/ftp_cfg_opt_user_exits.htm

It looks like something could possible be done using the FTOSTPR exit. This
appears to get control after a number of commands, namely RETR (send file
to remote), STOR (get file from remote), STOU (store unique), APPE (append
to existing file on z/OS), DELE (delete z/OS DSN or file), RTNO (Rename
z/OS file or DSN).

I was thinking that this might be a way to "do something" when one of these
events occurs. Some of my ideas were along the lines of sending: a email
that a file has been received; sending a email when a remote user downloads
a file; run a batch job or UNIX script when a specific DSN/file was
uploaded.

I was just wondering if anyone else thinks that something along these lines
would be useful. I don't know if there are any existing IBM or ISV products
which do this already. I do know that CA-7 can track an "external data set"
creation even to trigger a CA-7 job.

-- 
Veni, Vidi, VISA: I came, I saw, I did a little shopping.

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to