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

Compressing Datasets and sending by FTP


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ozgurseyrek

New User


Joined: 22 Feb 2008
Posts: 70
Location: Turkey

PostPosted: Fri Jan 09, 2009 6:40 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 09, 2009 7:24 pm
Reply with quote

Quote:
EZA1701I >>> MODE C
500 'MODE C': command not understood
And this does not tell you why your FTP step failed?
Back to top
View user's profile Send private message
ozgurseyrek

New User


Joined: 22 Feb 2008
Posts: 70
Location: Turkey

PostPosted: Fri Jan 09, 2009 7:49 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 09, 2009 7:56 pm
Reply with quote

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
View user's profile Send private message
ozgurseyrek

New User


Joined: 22 Feb 2008
Posts: 70
Location: Turkey

PostPosted: Fri Jan 09, 2009 8:35 pm
Reply with quote

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
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 -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts PL/I, VB Datasets and the RDW PL/I & Assembler 4
No new posts how to get list of all VSAM/non-VSAM ... JCL & VSAM 13
No new posts define 1 DCB parms for multiple outpu... JCL & VSAM 9
No new posts Problem while sending special charact... JCL & VSAM 4
Search our Forums:

Back to Top