MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need help! Trying to ftp 'put' a file from pc into mvs pdse

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
zfreeman
Beginner


Joined: 27 Dec 2007
Posts: 3
Topics: 2

PostPosted: Wed Feb 27, 2008 10:51 am    Post subject: Need help! Trying to ftp 'put' a file from pc into mvs pdse Reply with quote

I'm trying to put a binary file from pc to an mvs pdse via ftp but I get the following error:

250 List completed successfully.
ftp: 95 bytes received in 0.01Seconds 6.33Kbytes/sec.
ftp> put MYEXE
200 Port request OK.
125 Storing data set PPP.BUILD.VER.LOAD(MYEXE)
451-System completion code and reason: 2000-CC
451 Transfer aborted: file error.
Connection closed by remote host.

Has anyone out there successfully put a binary file into an mvs pdse via ftp? If so, how did you do it?
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed Feb 27, 2008 9:48 pm    Post subject: Reply with quote

load modules can not be transfered directly by FTP, nor can they be stored directly on a PC because 1) they are unformated and 2) the directory information must be maintained. Lookup the transmit (aka XMIT) and receive commands. There should be a fair number of references in newsgroups or even this board.

XMIT junk.junk DA(dsname1) OUTDS(dsname2)
and
RECEIVE INDS(dsname2)
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group