View previous topic :: View next topic |
Author |
Message |
sampathb76 Beginner
Joined: 23 Feb 2004 Posts: 2 Topics: 1
|
Posted: Wed Aug 17, 2005 5:47 pm Post subject: FTP - in DBF format file |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Aug 17, 2005 8:26 pm Post subject: |
|
|
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 |
|
|
sampathb76 Beginner
Joined: 23 Feb 2004 Posts: 2 Topics: 1
|
Posted: Thu Aug 18, 2005 1:04 pm Post subject: |
|
|
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 |
|
|
|
|