View previous topic :: View next topic
|
Author |
Message |
ozgurseyrek
New User
Joined: 22 Feb 2008 Posts: 70 Location: Turkey
|
|
|
|
Hello,
I want to compress the datasets and send by FTP program...
I have used COMpress subcommand
(This is equivalent to specifying the MOde C subcommand)
but The FTP step takes Error.
code part;
Code: |
//FTPPUT1 EXEC PGM=FTP,PARM='(EXIT TIMEOUT 99'
//STEPLIB DD DSN=TCPIP.SEZATCP,DISP=SHR
//SYSTCPD DD DSN=TCPIP.TCPPARMS(XXXXX),DISP=SHR
//SYSFTPD DD DSN=TCPIP.TCPPARMS(YYYYY),DISP=SHR
//SYSMDUMP DD SYSOUT=A
//SYSPRINT DD SYSOUT=*
//DD01 DD DISP=SHR,DSNAME=DATASET.TEST.DATA1
//OUTPUT DD SYSOUT=*
//INPUT DD DSN=SSS.WWW.FTPPARM(IPINFO),DISP=SHR
// DD *
MODE C
PUT //DD:DD01 DATATESTMODEC.TXT
/*
|
Error:
Code: |
EZA1701I >>> MODE C
500 'MODE C': command not understood
EZA1735I Std Return Code = 23500, Error Code = 00002
EZA1701I >>> QUIT
221 |
[/code] |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
EZA1701I >>> MODE C
500 'MODE C': command not understood |
And this does not tell you why your FTP step failed? |
|
Back to top |
|
|
ozgurseyrek
New User
Joined: 22 Feb 2008 Posts: 70 Location: Turkey
|
|
|
|
Yes I can see the error but at the book,
(z/OS Communications ServerIP User’s Guide and Commands)
it is telling to use MODE subcommand like that.
Why doesn't it understand the that command? My question is that actually... |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
If you are running this job on the mainframe, then your FTP job is connecting as a client to a server. It is that server, wherever it is and whatever it is, that must understand MODE C as a command. My guess is that you are connecting to a non-z/OS server and therefore the MODE C is not recognized. |
|
Back to top |
|
|
ozgurseyrek
New User
Joined: 22 Feb 2008 Posts: 70 Location: Turkey
|
|
|
|
Hımm,
yes, I am sending data from Z/Os to the Windows Server 2003.
I will contact to the Windows system admins for that issue.
very thanks. |
|
Back to top |
|
|
|