Darren,

Yup, it has happen to me a lot...

Lots of luck trying to duplicate it, and opening a PMR.

Save often, and double check your source frequently...

A Restart also helps. Deleting code should be unacceptable, but unless you can duplicate the error, how to do you open a PMR?

What version of RDI are you using?

Sorry, no work around, just go slow and verify your source.

Of courses the other option is to open it up with LPEX, instead of the designer. I have had whole portions of code deleted! Oh well, that is how it goes....

I have been unable to duplicate the error. But, anymore I go SLOW, and then it seems to work okay.


-Ken Killian-

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Brian Parkins
Sent: Monday, April 10, 2017 6:05 AM
To: Rational Developer for IBM i / Websphere Development Studio Clientfor System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Designer whacking source when copying

-----Original Message-----
From: Darren Strong
I have a record format defined in my DDS. I copy/paste that format within the source, so that I can name it something else, but during the copy it seems that the designer is removing some of my source records. I also see it placing more comment text within the middle of my source, in addition to the comment stuff that is at the end of the source. This additional comment section isn't necessarily an issue, except that its an indication that the error is occurring. I've tried to edit the source with just LPEX, but I can't seem to open the source without the designed getting involved. I'm actually considering falling back on SEU, which won't try to help me by categorizing source so much.

Anyone know why this is happening or a good work around?
___________________________________

The old CODE DSU utility had various record format controls which allowed such functions as copy, paste, duplicate, rename, etc.

Unfortunately, many of these simple "usability" controls are missing from Screen/Print Designer in RDi. (At least, I can't find them!) So, the only solution is to resort to editing the source code. We could submit an RFE, but I suspect it would attract very little support since DDS and green-screen are regarded as obsolete.

Incidentally, you CAN elect to open DSPF/PRTF source with LPEX; either change the File Association preference, or just right-click member > OPEN WITH > LPEX Editor

Brian.

--
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.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2022 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.