Skip to Content
0
Former Member
Dec 01, 2008 at 03:38 PM

Setting default format of the file

94 Views

Hi Guys,

I am writing a file using OPEN DATASET with following command:-

OPEN DATASET outfile FOR OUTPUT IN TEXT MODE

ENCODING UTF-8 IGNORING CONVERSION ERRORS.

Even though I am forcing the encoding to UTF-8 , the output file comes out in IS0-8859(Western European Format).

I have found a way to forcefully make the file by doing some coding changes. But this will require me to modify all the programs with my changes.

When I was searching for solution last time, I read about the system parameter which determines the format of the file which is written by OPEN DATASET OUTPUT statement.

But I am unable to find the same. If you know the way to set the parameter which governs the default encoding kindly let me know

Thanks for your help

Regards

Prashant