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

ftp'd file not present in Mainframes


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sathish Gurumoorthy

New User


Joined: 12 Feb 2009
Posts: 33
Location: Chennai, India

PostPosted: Wed Dec 23, 2009 10:14 am
Reply with quote

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

New User


Joined: 30 Jul 2009
Posts: 32
Location: Gurgaon

PostPosted: Wed Dec 23, 2009 1:00 pm
Reply with quote

Mainframe file need to give in single quote (')
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Dec 23, 2009 3:43 pm
Reply with quote

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

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Dec 23, 2009 3:54 pm
Reply with quote

If the file is not cataloged, it will be tough to find it back.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Wed Dec 23, 2009 6:01 pm
Reply with quote

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
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 2
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SH256/MD5 Checksum in Mainframes JCL JCL & VSAM 14
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top