Kbase 34068: How to export or import TAB delimited data
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
Solution ID: P4068
GOAL:
How to export or import TAB delimited data
GOAL:
How to use TAB as a delimiter for the EXPORT and IMPORT statements.
FIX:
You can refer to the TAB character with an escape character expression.
The TAB character is represented: ~011.
Example 1 -- Exporting:
OUTPUT TO file.txt.
FOR EACH customer:
EXPORT DELIMITER "~011" customer.
END.
OUTPUT CLOSE.
Example 2 -- Importing:
INPUT FROM file.txt.
REPEAT:
CREATE customer.
IMPORT DELIMITER "~011" customer.
END.
INPUT CLOSE.