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: 4648
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: 2429
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: 7990
Location: Bellevue, IA

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
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 0 Fri Mar 24, 2017 9:28 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm


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