View previous topic :: View next topic
|
Author |
Message |
Jerin Joseph
New User
Joined: 03 Aug 2009 Posts: 6 Location: bangalore
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Jerin Joseph
New User
Joined: 03 Aug 2009 Posts: 6 Location: bangalore
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Jerin Joseph
New User
Joined: 03 Aug 2009 Posts: 6 Location: bangalore
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Jerin Joseph
New User
Joined: 03 Aug 2009 Posts: 6 Location: bangalore
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|