Consultor Eletrônico



Kbase 13289: How to use quoter with TAB delimited data files UNIX example
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
How to use quoter with TAB delimited data files UNIX example

Subject: TAB delimiter character and quoter

The quoter utility supplied with PROGRESS can be used to reformat
data files where the TAB character was used as a field delimiter.
Use the syntax shown below to process the file prior to loading.
In this example, the data file "cust-tab.d" would be the datafile
from the source application which used the tab character as a field
delimiter; the "cust-quoted.d" file would be the resulting PROGRESS-
format data file.


UNIX VALUE ('quoter -d "' + chr (9) + '" cust-tab.d > cust-quoted.d') .

or :

UNIX quoter -d "'~t'" cust-tab.d > cust-quoted.d


Other documentation:
- Version 7 Programming Handbook, Section 6.11, Alternate I/O Sources
- Procedure "p-chgin4.p" in the Sample Procedures Library

- Verion 6 Programming Handbook, Section 9.3.3 Using Quoter.

Progress Software Technical Support Note # 13289