Skip to Content
0
Former Member
Dec 14, 2006 at 12:15 PM

Codepage for DOS

100 Views

Hi all,

I want to import a file from a DOS application. In the file is a character in DOS format (e.g. ï) which has to be translated to '

When i use FM WS_UPLOAD and use filetype IBM all is working fine. SAP returns the value '

But the program needs to be run in the background and has to read the file from the application server, so i can't use WS_UPLOAD or GUI_UPLOAD.

I am using OPEN DATASET dsn FOR INPUT IN LEGACY TEXT MODE CODE PAGE cp.

Does anybody know which Code page should be used to be able to read the 'strange' characters? Or is it possible to solve it in another way?

Thanks in advance.

Marcel Leeraar.