‎2008 Jul 30 4:57 AM
I am reading the file from application server using open dataset But when it comes to particular line it is gives me short dump.The short dump info says Not able to convert code page '4110' to '4102'
Wht is possible remedy for the issue.
Edited by: anil raina on Jul 30, 2008 5:59 AM
‎2008 Jul 30 5:02 AM
Hi Anil,
When you are using OPEN Dataset , trying to write the content all the content should be character format.
if the there is any data like quantity and currency try to convert them into char format or else you will get the dump.
use character format only.
‎2008 Jul 30 5:43 AM
But i am reading data from the application server and how can i convert data in that case.I
think if we were writing the data then we can take care of that thing...............only
‎2008 Jul 30 9:05 PM
Remove the unicode flag in the program attributes and try again. This might help.
Else read as 'open dataset p_file for output in text mode encoding default / UTF-8'.
Thanks,
Mahesh
‎2008 Jul 30 10:30 PM
Anil,
We were also getting a similar dump while using statement
"OPEN DATASET P_FILE FOR INPUT IN LEGACY TEXT MODE CODE PAGE '4110'.
But when replaced with "OPEN DATASET P_FILE FOR INPUT IN TEXT MODE ENCODING NON-UNICODE",
it worked fine.
Regards,
Kiran