07-20-2008 10:42 AM
Hi All,
I am facing a problem when writing a file to application server,
when ever the internal table has an entry of special character in a field say NAME, the corresponding entry in file has shifted over one byte in the file.
I think that Open data set statement used might be cause for this problem
I have used
" Open dataset P_FILE for output in textmode encoding default"
Please help me with this problem
07-20-2008 12:19 PM
Hi there!
Try using unicode format, using utf-8 ... like:
OPEN DATASET p_file FOR OUTPUT in text mode ENCODING utf-8.
Regards.
Valter Oliveira.
07-22-2008 1:05 PM
Hi,,
I did not have any problem while writing to application server
The problem was only when download to system, The test person must have used some encoding while downloading to system
I did not change any code
Thanks.