View previous topic :: View next topic
|
Author |
Message |
Sathish Gurumoorthy
New User
Joined: 12 Feb 2009 Posts: 33 Location: Chennai, India
|
|
|
|
I ftp a txt file from windows to mainframes.
below are the commands i give in windows to ftp.
ftp
open xxxx.xxxx.xxxx.xxxx
userid
password
locsite recfm=fb lrecl=80 primary=10 secondary=5 blksize=800
put O:\test\test1.txt g974650.devf1.ftp
quit
After ftp i got the message successfully transferred 5k bytes.
but when i login to mainframes and goto 3.4 option to see the dataset g974650.devf1.ftp, it's not present there.
please help. I am a learner on ftp concepts |
|
Back to top |
|
|
Pravesh
New User
Joined: 30 Jul 2009 Posts: 32 Location: Gurgaon
|
|
|
|
Mainframe file need to give in single quote (') |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I have to agree with Pravesh.
Shouldn't your session look like this:
ftp
open xxxx.xxxx.xxxx.xxxx
userid
password
quote "site recfm=fb lrecl=80 primary=10 secondary=5 blksize=800"
put O:\test\test1.txt 'g974650.devf1.ftp'
quit |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
If the file is not cataloged, it will be tough to find it back. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
but when i login to mainframes and goto 3.4 option to see the dataset g974650.devf1.ftp, it's not present there. |
Did you look for userid.g974650.devf1.ftp? Without the single quote marks, the user id will be assumed as the high level qualifier of the data set. The single quote marks around the data set name are only required if you have not done a CD command to change your current working directory to the high level qualifier you wish to use, and if not present the user id is the default HLQ. |
|
Back to top |
|
|
|