I have a Host Job which ftps a very large file to an SAP application server and the Host JOB after completion would trigger a TWS job on the SAP side to process the file that was dropped to the SAP server.
In my case the trigger of the Jobs went on fine, however the SAP job errored out saying that there are no files available in the server to process. The file from HOST was dropped to the SAP server much later.
Is the JCL in host active when an FTP is triggered? Or does it trigger the FTP and if successfully initates the transfer process move on to the next steps?
I am also asking this, because the total elapsed time of the Job was 0.4 seconds, however the FTP transfer time for the file was around 2.5 seconds, which is much greater than the Job end time.
Joined: 06 Jun 2008 Posts: 8211 Location: Dubuque, Iowa, USA
I have read your post a number of times and it is not at all clear what you are talking about.
The "Host job" that ftps the file -- is that a z/OS batch job?
What, specifically, triggers the SAP server process?
Have you looked at the job output -- specifically the FTP step -- to ensure that it ran normally? Have you compared the file time on the SAP server with the time indicated in the batch job? Was the job restarted (either manually or automatically)?
Have you contacted your site support group for assistance? What did they tell you?
As far as I know, FTP in a z/OS batch job is synchronous -- it will run until complete and the elapsed time of the job reflects the FTP elapsed time as well as other steps. I have not seen anything in any of the Communications Server manuals indicating anything else -- but again, only your site support group would know for sure how your FTP is set up.