Thanks Buck, I should've mentioned we are using 9.1.0 as well. At least it's not a local problem.


-Paul.


-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck Calabro
Sent: 12 August 2014 15:51
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] Overriding length of referenced fields in DDS

On 8/12/2014 7:27 AM, Paul Bailey wrote:
I have some display files that override the length of a referenced field. It is not a practice I like, and I don't do it if I can help it, but RDi is causing an issue with some of the existing source we have.

I have one display file (of many) that has this line in the first format:
A RGNO#1EXT R +1Y 0B 4 26REFFLD(CMRGNO)

When I open the display file with RDi, the member opens and is automatically marked as "changed" (i.e. an asterisk appears next to the member name in the tabs). I eventually realized that RDi had automatically changed the above line to
A RGNO#1EXT R Y 0B 4 26REFFLD(CMRGNO)

The +1 length increase was automatically removed! This happens no matter where the source is, and happens for all RDi users at this company. The line has not been changed in six years, and CTRL-Z undoes the automated change and returns the line to what it was before it was loaded.

I've spotted it this time, but I am wondering if I may have missed it
before and now the screen field in some programs is smaller than it
should be. (hard to believe the RPG compiler wouldn't have complained,
but there is a chance I suppose.)

Before I raise a PMR can anyone else see this behaviour?

Confirmed on 9.1.0.
If I Open With Lpex, the +1 is not removed.
If I open with DDS Designer, it is.
--buck

--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.

Scanned by MailDefender - managed email security from intY - www.maildefender.net

Important, this email transmission and any files with it are strictly confidential to the intended recipient and may be legally privileged. Any views or opinions presented are solely those of the author and do not necessarily represent those of BHSF. If you are not the intended recipient, you must not copy, disclose or distribute its contents in any way. If you have received this e-mail in error, please notify the sender and delete the e-mail from your system.

We have taken steps to ensure this email and attachments are free from any virus but do not accept any responsibility once this e-mail has been transmitted. You should scan any attachments for viruses. No contract may be concluded on behalf of BHSF Limited by e-mail.

Registered Office: BHSF Limited, Gamgee House, 2 Darnley Road, Birmingham, B16 8TE. www.bhsf.co.uk Registered in England number 35500. BHSF Limited is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and Prudential Regulation Authority.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.