× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Edmund,

I've since uninstalled/reinstalled RDi and for the past day the /COPY books have not been opening. I'm keeping an eye on each /COPY book that might have opened before and watching for member change dates erroneously changing, but not seen anything yet.

To be clear, I would open a source member (through c-s-a or an RSE member filter, it didn't matter) and *sometimes* one or more of the /COPY books mentioned in the source member would open without any input/request from me (and the member change date on the IBM i would be changed). The same /COPY book would not open more than once, and after a while you would not see many more opening in the editor. If I cleared my cache files (which I do more often than I would like) the /COPY books would start opening again whenever I opened a source member that used them. I was assuming the live outline was reading the files to build the outline details but was mistakenly opening them in the editor and causing a dirty flag to be set somehow.

We would never have noticed a problem if the QUSEC member hadn't been cleared. Several of our programs use APIs and the QUSEC /COPY book, and it appears that when my session automatically opened the QUSEC /COPY book it cleared it and failed to write the data back because of write permissions.

My "Member saving behaviour" was set to "save directly". I've just changed it to "save a copy then hope..." but I think I set it to save directly before because I was having an issue with file locks (member being saved was locked, but the lock was from my RDi session that was doing the saving. See the " [WDSCI-L] CRTRPGMOD: CPYSRCF: From-file EVFEVENT in KS01TS0O not allowed. " thread, dated around January 15th, 2014.)

I'll watch what goes on for a few days now and put together a PMR if I see things going wrong again. However, maybe my installation going wrong exposed a problem in the live outline? I'm not sure how to handle that if I won't be able to reproduce the problem again, but if you need another PMR to go with that then let me know.


-Paul.


-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Edmund Reinhardt
Sent: 26 March 2014 20:09
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Cc: wdsci-l-bounces@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] FW: QUSEC being cleared


Hi Paul,

I have been looking into your problem.
BTW, has anyone else seen this?

So here is some technical background.
When an IBM i member is edited, it is downloaded to the RemoteSystemsTempFiles project and then the editor works on that copy.
(You can see this project by going to the Project Explorer and removing the RSE Internal Projects filter using the View menu->Customize View) When you save the file is saved to this local project and then our code listens to that change and uploads to the IBM i.

I didn't understand why the copy book files show up in the editor when you edit the main module? Is this because you are clicking on an error in the error list? Please explain.

Here are some diagnostic steps.
Are you not using 2-step save? It was specifically designed to prevent data loss, if you save and the member is cleared and then there is a network error before the data is written. This is controlled by Preferences-> Remote Systems->IBM i->Object Subsystem->Member saving behaviour - set to "Save to a temporary member and then copy to original member". If you switch to 2-phase save, does the problem go away?

Secondly I am wondering if this is a side effect of live RPG downloading the copy books. Switch to the static outline view Preferences->Remote
Systems->IBM i Parsers->ILE RPG->Update the Outline view when text is
changed in the editor. Let me know if you still see the problem.



Regards,

Edmund (E.H.) Reinhardt
Technical Architect for Rational Developer for i



Phone: 1-905-413-3125 | Home: 1-905-854-6195 IBM
E-mail: edmund.reinhardt@xxxxxxxxxx
RDi YouTube: 8200 Warden Ave
www.youtube.com/user/IBMRational#g/c/62DF24D5BCD43501 Markham, ON L6G 1C7
Find me on: LinkedIn: Canada
http://ca.linkedin.com/in/edmundreinhardt/






From: Paul Bailey <PaulBailey@xxxxxxxxxx>
To: Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>,
Date: 26/03/2014 05:07 AM
Subject: Re: [WDSCI-L] FW: QUSEC being cleared
Sent by: wdsci-l-bounces@xxxxxxxxxxxx



We are not using iProjects at all.

Why would RDi be trying to push tabs that I didn't request to be opened?
Especially as they have no changes to push!

Do you know of any extra logging in RDi I can switch on that will allow me to see what source members are being written to/changed? Similar to a journal on the source files, but on the PC side.



-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck Calabro
Sent: 25 March 2014 17:02
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] FW: QUSEC being cleared

On 3/25/2014 8:09 AM, Paul Bailey wrote:

Sometimes I get an error response when the QUSEC member is loaded
telling
me I have received a CPF4194 "Member QUSEC can be opened only for input"
error. However, it has somehow succeeded in *clearing* the QUSEC source member before this message and I then need to restore this system file from a backup in order to get programs to compile!

-snip-

P.S. I created a new workspace, and the first source member I opened
had
6 /COPY books in it. One of them was opened at the same time that I opened the source member, and the opened /COPY book's member change date has been set to today (when it was last changed in 2011). This is another major problem! I will now have to uninstall and reinstall RDi in order to make certain I am working with a vanilla environment.

I have Softlanding's RSE Extension, midrange.com's RSE extension and
the
iSphere plugin installed, but nothing else.

It sounds like something is causing RDi to do a 'push' of all the tabs.
I have no idea what that could be. Do you use iProjects?
--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.
--
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 ...

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.