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
 

 

ftp'd file not present in Mainframes

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: ftp'd file not present in Mainframes
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    Post subject:
Reply with quote

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

Moderator Team Head


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

PostPosted: Wed Dec 23, 2009 3:43 pm    Post subject: Reply to: ftp'd file not present in Mainframes
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: 2435
Location: Netherlands, Amstelveen

PostPosted: Wed Dec 23, 2009 3:54 pm    Post subject:
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Wed Dec 23, 2009 6:01 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics 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. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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