DSPF Convert zone definition error

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
PatriceVincent
New User
Posts: 19
Joined: Fri Jan 09, 2015 5:21 am
First Name: Patrice
Last Name: Vincent
Company Name: Saphir Systèmes
Contact:

DSPF Convert zone definition error

Post by PatriceVincent »

Hi Profoundui Team,
When i convert my 5250 DSPF to Rich Display File with Visual Desiner, i have, when i save, this error message :

The Rich Display definition of field ZSFKLI does not match the Green-Screen DDS definition.

Rich Display JSON Field:
Name: ZSFKLI
Type: reference
Length: undefined
Decimals: undefined
Reference: CDLDETF1/CDDKLI *LIBL/CDLDET 7 02

Green-Screen DDS Field:
Name: ZSFKLI
DDS Data Type:
Length: 7
Decimals: 2
Reference: CDLDETF1/CDDKLI *LIBL/CDLDET

The process used is, convert with Visual designer the DSPF (only some error (keep, print)), no modification with visual designer only 'save as'.
The 5250 definition line is :
0011.50 A ZSFKLI R 7 02O 8 98REFFLD(CDLDETF1/CDDKLI *LIBL/CDLDET)
As you can see, there is also 7 02. This zone is overrided to change the lenght of the original zone.

To bypass the message, the only possibiity in Visual Designer has been to modify the zone definition in the right of the screen and to suppress the 0 before the 2 (so the definitiion zone is 7 2 and not 7 02).
Unfortunalty for me, i have a lot of zone defined like this.

Is there a solution to solve this from my side ?

Thanks for your help,
Patrice
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: DSPF Convert zone definition error

Post by Scott Klement »

I would report this to our support team at support@profoundlogic.com to find out if this is the expected behavior or if it's a bug. And if it's a bug, they should be willing to get it fixed.
PatriceVincent
New User
Posts: 19
Joined: Fri Jan 09, 2015 5:21 am
First Name: Patrice
Last Name: Vincent
Company Name: Saphir Systèmes
Contact:

Re: DSPF Convert zone definition error

Post by PatriceVincent »

Hi Scott,
Thanks for your prompt reply and your help.
Patrice
User avatar
Alex
Profound Logic Staff Member
Posts: 233
Joined: Fri Jan 04, 2008 12:10 pm
First Name: Alex
Last Name: Roytman
Company Name: Profound Logic Software
Contact:

Re: DSPF Convert zone definition error

Post by Alex »

Hi Patrice,

We created a fix for this for the next update of Profound UI. In the next release, the conversion process will automatically strip the leading zeros from the override length and decimal positions of a reference field. If you need the fix right away, please contact support@profoundlogic.com and we can send you a patch.

Alex
PatriceVincent
New User
Posts: 19
Joined: Fri Jan 09, 2015 5:21 am
First Name: Patrice
Last Name: Vincent
Company Name: Saphir Systèmes
Contact:

Re: DSPF Convert zone definition error

Post by PatriceVincent »

Hi Alex,
Thanks for your prompt reply and the solution provided.
Yes i will contact the support to have the fix (else i will have too much definition to review).
Thanks again for foryour help and the quick answer.
Patrice
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests