Re: Kicking of Process After FTPed File Arrives
- From: CRPence <crpence@xxxxxxxxxxxx>
- Date: Sun, 23 Sep 2007 16:32:09 -0500
Ughh! Corrected mis-type of NFYOBJ() parameter name from STRCMTCTL command.
CRPence wrote:
The end of the FTP session can be inferred, for processing a PUT of any one file.mbr, given there is a known existing file.mbr that is the target of the PUT. In the exit program, an ALCOBJ of the file.mbr can be performed, so the asynchronous processor of that file.mbr can be activated immediately. With this method, instead of the background job specifying some guess for DLYJOB DLY(value), that job can instead wait on its own request to allocate that file.mbr with the request:
ALCOBJ ((thelib/file *FILE *EXCL mbr)) WAIT(value).
That could not be implemented exactly, in something generic like FTPTOOL, due to the cases where the target of the PUT would not be known or perhaps not exist already. The tool documentation could allude to doing those allocate requests, to enable delaying action until after the FTP session ends; maybe even as part of the tool, the /same/ idea could be implemented on a data area or a row for the LOGged activity. Or if you wanted to implement a more generic maintenance/defaults, you could add a /notify object/ for the end of the FTP session using the same technique, or courtesy of that feature [NFYOBJ()] in commitment control.
Regards, Chuck
--
All comments provided "as is" with no warranties of any kind whatsoever and may not represent positions, strategies, nor views of my employer
.
- References:
- Kicking of Process After FTPed File Arrives
- From: Saml
- Re: Kicking of Process After FTPed File Arrives
- From: Bradley V. Stone
- Re: Kicking of Process After FTPed File Arrives
- From: CRPence
- Kicking of Process After FTPed File Arrives
- Prev by Date: Re: Kicking of Process After FTPed File Arrives
- Next by Date: Re: 515 - how many users
- Previous by thread: Re: Kicking of Process After FTPed File Arrives
- Next by thread: Re: Kicking of Process After FTPed File Arrives
- Index(es):
Relevant Pages
|
|