Consultor Eletrônico



Kbase P51144: How to create '' during a 4GL export?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/4/2004
Status: Verified

GOAL:

How to create '<CR><LF>' during a 4GL export?

FIX:

1. Use unix2dos utility:

unix silent "unix2dos unix.txt dos.txt"

OR

2. Use code similar to the following after your application has EXPORTed the information:

def var vc as char.
input stream sin from unix.tmp.
output stream sout to dos.txt.
repeat:
import stream sin unformatted vc.
put stream sout CONTROL vc chr(13) chr(10).
end.
input stream sin close.
output stream sout close.