Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8344
Location: Dubuque, Iowa, 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: 8344
Location: Dubuque, Iowa, 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
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm
No new posts Creation of Datasets dynamically on t... Raghu M N DFSORT/ICETOOL 8 Fri Mar 16, 2018 12:56 am
No new posts Enterprise PL/I - dynamic allocation ... prino PL/I & Assembler 1 Mon Jan 29, 2018 10:17 pm
No new posts sending email from jcl using the mail... niloyarp JCL & VSAM 5 Tue Oct 10, 2017 12:32 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us