MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FTP - in DBF format file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
sampathb76
Beginner


Joined: 23 Feb 2004
Posts: 2
Topics: 1

PostPosted: Wed Aug 17, 2005 5:47 pm    Post subject: FTP - in DBF format file Reply with quote

Can you please help ME out how I can GET file which is in DBF format into Mainframe visa FTP.
Code:

//FTPBATCH EXEC PGM=FTP,COND=(0,NE),                   
//             PARM='INTRAFTP1  21 (TIMEOUT 20 EXIT=09'
//INPUT    DD *                                           
EBCDIC                                                   
TYPE E                                                   
mode s                                                   
pwd                                                       
cd FTPSERVER\MYDATA                           
pwd                                                       
dir                                                       
get MyData.dbf 'PL.MYDATA.PCFILE' (replace
/*

Thanks,
Sampath
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed Aug 17, 2005 8:26 pm    Post subject: Reply with quote

Sampath76,

Are you refering to DBF which are database files of dBASE, Clipper & Visual FoxPro. If that is true then you need to convert them to either a CSV or DOC format and then use FTP to transmit the Converted file.

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sampathb76
Beginner


Joined: 23 Feb 2004
Posts: 2
Topics: 1

PostPosted: Thu Aug 18, 2005 1:04 pm    Post subject: Reply with quote

Yes.. Its in Foxpro/dBase format.

It was working fine with CSV format. Presently every time we are converting from DBF to CSV format then doing FTP. Please let me know if there is any way which I can do FTP with out converting into CSV format.

Thanks,
Sampath
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group