Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

JCL fails because of a ftp send connection failure

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
superori

New User


Joined: 09 Feb 2006
Posts: 3

PostPosted: Thu Jun 28, 2007 1:35 pm    Post subject: JCL fails because of a ftp send connection failure
Reply with quote

Hi, I have a step in JCL that sometimes fails because it's a ftp send and sometimes the connection falls down.

Well, I need that the JCL will stay executing this step until return code is Ok.

What is the better way to do that?

Help, please.
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Jun 28, 2007 1:43 pm    Post subject: Re: Bucle in JCL
Reply with quote

Simple. Either move the FTP process out of the JCL and under the control of a program, or, have the job re-submit itself whenever the FTP step fails.
Back to top
View user's profile Send private message
superori

New User


Joined: 09 Feb 2006
Posts: 3

PostPosted: Thu Jun 28, 2007 2:14 pm    Post subject:
Reply with quote

How can I do the re-submit itself whenever the FTP step fails?
Back to top
View user's profile Send private message
sanjayis01
Warnings : 1

New User


Joined: 13 Jun 2007
Posts: 55
Location: banaglore

PostPosted: Thu Jun 28, 2007 3:34 pm    Post subject: Re: JCL fails because of a ftp send connection failure
Reply with quote

If FTP fails at particular step means , restart from that step it self using
RESTART=STEPNAME , in the jobcard ,


It failed with error code 425 thats connection failed.

best way to restsrrt with that step where it got failed .
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Jun 28, 2007 3:37 pm    Post subject:
Reply with quote

Quote:
If FTP fails at particular step means , restart from that step it self using
RESTART=STEPNAME , in the jobcard ,

Use this method, if your FTP step is the last step. Else create on more job with this step and submit the job.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Thu Jun 28, 2007 3:50 pm    Post subject: JCL fails because of a ftp send connection failure
Reply with quote

Hi,

I dont think the FTP connection fails often ... So better you can restart from the particular step .. i guess mostly FTP will be the last step ... else write that particular step in seperate JCL as murali advised us ... Please let me know if any questions ...
Back to top
View user's profile Send private message
superori

New User


Joined: 09 Feb 2006
Posts: 3

PostPosted: Thu Jun 28, 2007 3:54 pm    Post subject:
Reply with quote

I need that the re-submit step will be automatic because this JCL is executed at night, nobody is here to resubmit it. It is possible?
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 685
Location: Earth

PostPosted: Fri Jun 29, 2007 3:12 pm    Post subject:
Reply with quote

Quote:

re-submit step will be automatic because this JCL is executed at night, nobody is here to resubmit it

If you had tried the given solution, you wouldn't ask this question.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm
No new posts Send parameter for macro STIMERM from... Daniel Teolotitla PL/I & Assembler 13 Tue Jul 05, 2016 9:23 pm
No new posts OUTREC FILELDS FAILS WITH ICE126A 2 ... balaji81_k DFSORT/ICETOOL 8 Sat Jul 02, 2016 1:22 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us