Solved

Export PFS:FILE format to dbase format

Posted on 1998-04-15
2
795 Views
Last Modified: 2013-11-24
I'm trying to export a file in Pfs:file format to dbase format but only takes first 180 fields using dbase IV IMPORT command. How I Can get all fields (about 500)?
0
Comment
Question by:juanca
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
cymbolic earned 100 total points
ID: 1026270
There is an excellent tool for working with .dbf files available on AOL and on the net (look for File Pile), known as DBFLOOK.  With registration comes a set of tools containing an import and export programs for creating .dbf files.  DBFLOOK itself can be used to make a fixed record length extract file become a .dbf by prefixing a dbf header to the file.  It will also create a header to be used as well, allowing you to specify field names, sizes and types. If you can extract the pfs file to a fixed length record format, I can help you use this tool to convert it into a .dbf.

I've worked extensively with the .dbf format in enterprise level applications with hundreds of .dbf files involved.
email me at cymbolic@aol.com if you need more help, or to send a sample file for conversion.
0
 

Expert Comment

by:rbfine
ID: 1026271
If you haven't found an answer, here's what I do:

1. Export the file in fixed length format, if possible.  All the fields at once.  This is also known as an 'SDF' file.

2. Create a dbase structure with fields in it like 'Field1, character 200', 'Field2 Character 200', etc.  You can create up to 254 of them if you need to.  Oops, dBase IV allows more.

3. Append from the SDF file you exported before by using the APPEND FROM ... SDF command.

4. You can then split the fields as necessary, either programmatically or with console commands.  If you pick the field lengths in the 2nd step smartly, you'll have a much easier task of it.

rbfine@finesoft.com

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question