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

FTP error Return Code = 04500, Error Code = 00010


IBM Mainframe Forums -> HomeWorks & Requests
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Jerin Joseph

New User


Joined: 03 Aug 2009
Posts: 6
Location: bangalore

PostPosted: Mon Aug 03, 2009 10:11 pm
Reply with quote

My JOB is trying to get connected to one server to receive and post some data but it is getting aborted .The error I am getting is like...
EZA1636I *** I can't open a data-transfer connection:
EZA1735I FTP Return Code = 04500, Error Code = 00010.
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: Mon Aug 03, 2009 10:43 pm
Reply with quote

The error code 10 is a session error -- something isn't connecting correctly to establish a session between the server and the mainframe. The 04 part of the return code indicates you are attempting to use the APPEND command while the 500 indicates a syntax error -- such as command not recognized.

Post the JCL and FTP commands (in BBcode format) with some more detail (is the server a Unix machine, Windows Server machine, or another mainframe?) and we'll see what we can do.
Back to top
View user's profile Send private message
Jerin Joseph

New User


Joined: 03 Aug 2009
Posts: 6
Location: bangalore

PostPosted: Tue Aug 04, 2009 12:10 pm
Reply with quote

Below is the code in my JCL for FTP and I can see that In PPURXP.VDIVPO.DATA(IDXSEND2) card we used the command 'APPEND' instead of append can i use a PUT command.I am tryingf to FTP to a Windows Server Meachine.
//* JNS018 - CREATE THE CONTROL CARDS FILE FOR FTP (SENDING) *
//* *
//* THIS SAS JOB CREATES A UNIQUE FILE NAME FOR THE FTP CONTROL CARDS *
//* BY ADDING THE DATE AND TIME TO THE NAME OF THE SEND FILE. *
//* *
//* FILEIN : CONTROL CARDS FOR THE FTP WITH GENERIC FILE NAME *
//* FILEOUT: CONTROL CARDS FOR THE FTP WITH A UNIQUE FILE NAME *
//* USING THE DATE AND TIME *
//* *
//**********************************************************************
//JNS018 EXEC SAS,
// COND=(0,NE,JRS010)
//FILEIN DD DSN=PPURXP.VDIVPO.DATA(IDXSEND2),DISP=SHR
//FILEOUT DD DSN=PSSP.EDI.IDX.FTP.SEND.CARDS,
// DISP=(NEW,CATLG,KEEP),
// UNIT=DISK,SPACE=(TRK,(1,1),RLSE),
DCB=(LRECL=80,RECFM=FB)
SYSOUT DD SYSOUT=*
SYSPRINT DD SYSOUT=*
SYSDBOUT DD SYSOUT=*
SYSUDUMP DD SYSOUT=*
SYSIN DD DSN=ENDEVOR.CVHPROD.PROD.SAS.BASE(EDIDX001),
DISP=SHR
*
**********************************************************************
* *
* JNS020 - USE FTP TO SEND THE DATA TO THE IDXCHANGE NT SERVER *
* *
* INPUT FILES: *
* ============ *
* SYSIN : CONTROL CARDS FOR THE FTP TRANSFER *
* *
* OUTPUT FILES: *
//* ============= *
//* FILES WILL BE CREATED ON THE IDXCHANGE NT SERVER. *
//* *
//**********************************************************************
//JNS020 EXEC FTPBATCH,REGION=0M,PARM='(EXIT TIMEOUT 210',
// COND=(0,NE,JRS010)
//SYSPRINT DD SYSOUT=*
//SYSDBOUT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD DSN=PSSP.EDI.IDX.FTP.SEND.CARDS,DISP=SHR
/*
//*
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 04, 2009 4:59 pm
Reply with quote

What does PSSP.EDI.IDX.FTP.SEND.CARDS contain? We need to see the actual FTP commands -- you can get rid of the actual IP address or DNS name, but the commands themselves are important to see.

And you can change APPEND to append or even to PUT or put -- none of that will impact your error in any way, shape, style, or form. Your error is not with the append statement, it is with something else (hence the session error indicator).
Back to top
View user's profile Send private message
Jerin Joseph

New User


Joined: 03 Aug 2009
Posts: 6
Location: bangalore

PostPosted: Tue Aug 04, 2009 6:39 pm
Reply with quote

Below is the content in the PSSP.EDI.IDX.FTP.SEND.CARDS(actual FTP commonds)

**************************(here the server name)
cyclone
1cyclone3
ascii
cd edi\upload
mode s
append 'pssp.edi.idx.send.hold' ABCSEND8485017.EDI
close
quit

The ABCSEND8485017.EDI will be creating every run of my jcl with the current date and time,before the FTP step.
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 04, 2009 6:51 pm
Reply with quote

In your JNS020 step, add the following after your //INPUT DD statement:
Code:
//SYSFTPD DD *
trace
/*
and post the entire DD name OUTPUT data from the job -- except for server name, of course -- to see what's going on.

My guess is that you've got a firewall issue which will require getting your site support group involved to resolve, but let's get more data to make as sure of that as possible.
Back to top
View user's profile Send private message
Jerin Joseph

New User


Joined: 03 Aug 2009
Posts: 6
Location: bangalore

PostPosted: Thu Aug 06, 2009 12:56 pm
Reply with quote

The code what I mentioned above is already in Production and the FTP problem will comes once in a week or twice.Thats why I am trying to provide a Fix to the issue.Can you tell me the significance of the code that you provided..??
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: Fri Aug 07, 2009 2:07 am
Reply with quote

It turns on the trace function which provides a lot of details about the interaction between the client and server for each command. Since it is part of the JCL, it only traces this job.
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 -> HomeWorks & Requests

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top