|
I believe you need the two spaces because the first field is "B" with edit code 4. Its a numeric field and needs an extra space in case the user enters a negative number. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 11/10/2003 12:18:20 PM To: RPG programming on the AS400 / iSeries Subject: Re: Weird behavior on SUBFILE with COLOR attribute "How can the field C2CUST end on position 35, when C2CUSN starts at position 36. This leaves no place for the attribute byte. Is it possible that there is a second C2CUSN field, with the correct start possition, whereby the first C2CUSN field is being dropped by the compiler? Loek." Thanks Loek! That was it! I just leave two spaces in between and BAM! It worked! At the beginning, I did not understand and (to add to the confusion) I do not remember having this situation in the past... I totally forgot the fact of the attribute byte. Thanks a bunch! Peter Vidal Pall Aeropower Corp. SR Programmer Analyst WWW.Pall.com "A good player makes himself look good; a great player makes the team look good." Author unknown
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.