IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Is the Job in mainframe active when an FTP is triggered


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
placidstream

New User


Joined: 25 Mar 2006
Posts: 1

PostPosted: Tue Aug 17, 2010 9:41 pm
Reply with quote

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.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Aug 17, 2010 10:56 pm
Reply with quote

SARCASM ON

no, the host step which initiates the FTP waits patiently
until the FTP is complete,
and then the JOB proceeds on to the next step.

Sounds as if your server was backed up and did not make the
directory entry until late.

SARCASM OFF
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Aug 17, 2010 11:37 pm
Reply with quote

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.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts How to Reformat a file using File Man... All Other Mainframe Topics 14
No new posts NDM getting stuck - mainframe/JCL All Other Mainframe Topics 13
Search our Forums:

Back to Top