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
 

 

FTP error Return Code = 04500, Error Code = 00010

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> HomeWorks & Requests
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    Post subject: FTP error Return Code = 04500, Error Code = 00010
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: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Mon Aug 03, 2009 10:43 pm    Post subject:
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    Post subject:
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: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Tue Aug 04, 2009 4:59 pm    Post subject:
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    Post subject:
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: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Tue Aug 04, 2009 6:51 pm    Post subject:
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    Post subject:
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: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Fri Aug 07, 2009 2:07 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> HomeWorks & Requests All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts EXIT or RETURN cvnlynn CLIST & REXX 16 Wed Jul 19, 2017 2:50 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm


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