I am running PUI 2.2.7 on V7R1 and have found an interesting error in the conversion tool.
We have some DDS source with both a REFFLD keyword and a definition (which is different to the REFFLD definition) e.g.
A P1DTE_FR R 6 0B 12 30REFFLD(ORDTE *LIBL/ORDRPH)
the field is a numeric (used as a date) and in the file ref is 8P 0 but you can see from the snipet of source it is defined as 6S 0 and the RPG is expecting 6S 0 but is getting 8S 0. (In the designer tool it shows the REFFLD as its definition). This field is passed to a procedure expecting 6S 0 and thus the program is getting a compile error as follows
The type and attributes of parameter 1 do not match those
of the prototype.
here is the prototype def
d CvtDMY_D8 PR 8 0
d p_InDate6 6 0
DDS conversion tool error
-
- Profound User
- Posts: 30
- Joined: Thu Apr 29, 2010 9:32 pm
- First Name: Glenn
- Last Name: Marks
- Company Name: Pacific Brands
- Country: Australia
- Contact:
- 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: DDS conversion tool error
This problem is fixed in the latest release.
Who is online
Users browsing this forum: No registered users and 4 guests