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
 

 

Compressing Datasets and sending by FTP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
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    Post subject: Compressing Datasets and sending by FTP
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jan 09, 2009 7:24 pm    Post subject:
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    Post subject:
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jan 09, 2009 7:56 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm


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