Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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: 2441
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: 8152
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
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us