Unicode Data Fields not supported by Converter?

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
t.s.h
Profound User
Posts: 31
Joined: Fri Aug 06, 2010 5:18 am
First Name: Thorsten
Last Name: Haas
Company Name: GfK Entertainment
Phone: +49(0)7221/279 921
City: Baden-Baden
State / Province: Outside Canada/USA
Zip / Postal Code: 76530
Country: Germany
Location: Germany
Contact:

Unicode Data Fields not supported by Converter?

Post by t.s.h »

When I convert a DDS File with the following field definition:

Code: Select all

A            WBDESC        40G  O  6 15CCSID(1200 20) 
the converter generates a char field:

Code: Select all

{"i-d":"WBDESC","field type":"output field","value":{"fieldName":"WBDESC","designValue":"[WBDESC]","dataType"
:"char","formatting":"Text","trimLeading":"false","trimTrailing":"true","textTransform":"none","dataLengt
h":"40"} 
and

Code: Select all

WBDESC         40A  H  
this cause an error during the creation of the rpg program.
Is there a workaround to use unicode fields?
t.s.h
Profound User
Posts: 31
Joined: Fri Aug 06, 2010 5:18 am
First Name: Thorsten
Last Name: Haas
Company Name: GfK Entertainment
Phone: +49(0)7221/279 921
City: Baden-Baden
State / Province: Outside Canada/USA
Zip / Postal Code: 76530
Country: Germany
Location: Germany
Contact:

Re: Unicode Data Fields not supported by Converter?

Post by t.s.h »

edit:
With some manual work I get the DDS-source and prg working
I set a referecnce in the designer to a unicode file field and changed the field definition in

Code: Select all

A          R MS5010FB                  SFL    
A  61 62     QPUI000001     1A  O  2  2        
A  61 62     WBDESC        40G     2  4CCSID(1200 20)     
but than I receive the following error code during execution:

Code: Select all

Nachrichten-ID . . . . :   PUI0013       Bewertung  . . . . . . :   40        
Nachrichtenart . . . . :   Abbruch                                            
Sendedatum . . . . . . :   24.08.10      Sendezeit  . . . . . . :   14:36:26  
                                                                              
Nachricht . . . :   Unsupported data type.                                    
Cause . . . . . :   An attempt was made to open file MS5010FM in library *LIBL
  which contains one or more fields of unsupported type.                      
Recovery  . . . :   Contact the person responsible for program maintenance to 
  determine the cause of the problem.                                         
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Unicode Data Fields not supported by Converter?

Post by David »

Unicode fields are not supported in Profound UI at this time. We may add support for these in a future release.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests