I am working in a project where unicode enablement is required for an existing application and i am facing following issues:
1. Existing Display files use COMP, VALUES keywords with character fields e.g. VALUES('ABC' 'XYZ' etc.)
2. CL programs are using Character variable for parameter passing, retrieving fields from data areas, data queues etc.
3. Printer files are using Character fields with EDTWRD, BARCODE etc. keywords.
We are converting all Character database fields to unicode data type G and CCSID(1200), similarly all the DSPF and PRTF fields are changed to data type G but the issue is how to handle the keywords (VALUES,COMP,EDTWRD and BARCODE) in DSPFs and PRTFs. and how to handle the DBCS-Graphics data type in CL programs.
in case of DSPF, i tried to change one field of length 5, data type from A to G, usage B in Display File. original valid values "APART" and "DPART" were retained on VALUES keyword but then it shows error message "SDA1528 - VALUES graphic data format is invalid". Message (F1) help suggests "The syntax for defining values for DBCS-graphic field is as follows : the value must start with the character 'G', followed by a apostrophe (') and a Shift-Out character, followed by the double-byte data, then a Shift-In character and a apostrophe.
Any idea how to type shift-out/Shift-in control characters using my Keyboard (i am using standard Client access PC5250 for V5R3M0 ver 5.7 for windows and iSeries is V5R4).
Kindly feel free to comment and provide your inputs over the approach and any other suitable suggestions for unicode conversion of applications.
Thanks in advance...waiting for much awaited help.
Software/Hardware used: iSeries Access for Windows V5R3M0, and IBM i-series version V5R4