Text data loading, Progress programming language reference

wheney

New Member
I am completely new to Progress. I have been
given a task to load a text file into progress
tables which are already created.

Is there a reference manual that is available
in bookstores (Borders, etc) that is recommended?

At this time, I don't have either the database
or Progress manuals but a reference to the
manual I should use when I get them would be helpful.

Replies to my email address will be appreciated:

wheney@starpower.net

Thanks,

Bill Heney
 

BONO

Member
u've to use the input statement :
example :

DEFINE VARIABLE c-zone AS CHARACTER NO-UNDO.
INPUT FROM VALUE("<file-path>").

DO WHILE TRUE:
IMPORT UNFORMATTED c-zone.

END.

INPUT CLOSE.

u'll have in c-zone, each line of u're file. u've to know that it run with a file with a carriage return at the end of each line
U can consult the help for more information
 

BONO

Member
u've to use the input statement :
example :

DEFINE VARIABLE c-zone AS CHARACTER NO-UNDO.
INPUT FROM VALUE("filename").

DO WHILE TRUE:
IMPORT UNFORMATTED c-zone.

END.

INPUT CLOSE.

u'll have in c-zone, each line of u're file. u've to know that it run with a file with a carriage return at the end of each line
U can consult the help for more information
 

wheney

New Member
M Bono,

Thank you for the reply and sample code.

Can you tell me in which Progress Manual
I would find more information about loading
text data? I found the Progress web site
and have downloaded several manuals but
haven't found anything about loading yet.

Thanks again,

Bill Heney
 

Crittar

Member
If you have downloaded the documentation from the Progress web site I would reccommend that you see the language reference and read up on the "import" statement.

Also see the programmer's handbook for general background information.

If you require specific assistance either post here or e-mail me. I (and others, no doubt) would be glad to assist.

:)
 

dancar

Member
programming language reference

Progress provides EDOC CDROM for Windows & Unix and PDF for both. Came with V8.* and V9.* Book publications they sell for a heafty fee. Someone correct me if I'm wrong but doesn't White Star have a good Progress resource? I doubt you will ever see an official Progress book (or other) in Borders or Barnes & Nobles. At the least I would be very surprised.
DC
 
Top