‎2005 Jun 26 3:12 PM
hey Raja,
I tried below statement in 46B.
OPEN DATASET E_FILE FOR APPENDING IN TEXT MODE ENCODING DEFAULT.
but giving compile time error..why.
i want my code to work in both environment pls suggest me
ambichan.
‎2005 Jun 26 4:47 PM
Hi,
Try to use:
OPEN DATASET E_FILE FOR APPENDING IN TEXT MODE
without ENCODING DEFAULT.
Krzys
‎2005 Jun 26 4:47 PM
Hi,
Try to use:
OPEN DATASET E_FILE FOR APPENDING IN TEXT MODE
without ENCODING DEFAULT.
Krzys
‎2005 Jun 27 2:45 AM
well, if i remove ENCODING DEFAULT in OPEN dataset it works fine in 46B.
But in 620,It gives error.how to make this code mutually work in two different environment with same piece of code..
any reply for the post is appreciated
ambichan
‎2005 Jun 27 5:49 AM
Hi Ambi,
UNICODE related changes in your programs are essential to make it work in 6.20 and the same statements may not work in 4.6 B.
Specially UNICODE related changes, might well have to be handled using slightly different programs.
Also you should not de-activate the unicode check in the program attribute. Specially as you work with Japanese Language also ..
Further, even if you will find a OPEN DATASET code that works for 4.6b and 4.7 ..it's not something general ..
I mean ,not all the UNICODE related stmts will be compatible to all the versions.
Cheers,
Ram
‎2005 Jun 27 5:59 AM
Dear Ram,
Thanks for your reply.
I dont understand your reply completely. however i understood that no other way except doing different coding at program in this case to solve this issue. am i correct.
so always for 46b i have to use below statment
OPEN DATASET FPATH FOR APPENDING IN TEXT MODE.
and for 620(NO unicode system),i have to use different below statement to work right.
OPEN DATASET FPATH FOR APPENDING IN TEXT MODE ENCODING NON-UNICODE.
correct?
‎2005 Jun 27 6:18 AM
Almost..
But are you sure that you don't need UNICODE enabled stmts? If not sure, then check other variances of the OPEN DATASET ..default encoding might be good...
<<
and for 620(NO unicode system),i have to use different below statement to work right.
OPEN DATASET FPATH FOR APPENDING IN TEXT MODE ENCODING NON-UNICODE.
>>
Cheers,
Ram
‎2005 Jun 27 6:48 AM
Hey Ram,
one more thing..
Can we write code that if system is 46B then
...xxx code..
or else if 620B then
...yyy code..
in my program..
because in a single program can i use for two environment check and continue the code..any techniques..would be great..
ambichan