Hi Ken,
I just wanted to explain what is going on with the RDi two-phased save and
why we do it that way.
It is precisely because we never want anyone to lose their hard word that
we do it this way.
When a file is uploaded to the IBM i, what happens on the server is that
the the src-pf is cleared and then the lines/records are written to the
file. This process is vulnerable because if there is a network outage in
between, the new source is not completely written and the old source is
lost.
To prevent this, we first upload to a temp member in the same src-pf with a
name RSE<random number> and then if this is successful, we copy it to the
original member. In this way there is NEVER a point where the source is
lost.
In your case, there was some reason why the copy from the temporary member
to the original source member failed. It was likely that this member was
locked by someone else, or some other operating system reason. Actually we
already detect the situation where another job has the member locked. So
it must be some other reason. I can't think of a possible scenario, so I
doubt it is very likely. But even so we provide a very good recovery.
This is clear example of the benefit of our 2-phased save in that your
content was never at risk and could easily be recovered. That is why the
message provides the member name containing the desired content .
I hope this clarifies what is going on under the covers and also restores
your confidence in using the RDi tool.
HTH
|
|
|Edmund Reinhardt
|
|Rational Developer for i
|Architect
|
|IBM
|p:
| 905 413 3125
|w:
| ibm.biz/rdi_hub e:
| edmund.reinhardt@xxxxxxxxx
| m
|
From: Ken Killian <kkillian@xxxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Date: 2017-11-26 12:27 PM
Subject: Re: [WDSCI-L] RDI 9.6 Code Assist Bug...
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
Mike,
I created a brand new workspace for RDI 9.6. I didn't try clearing the
cache, because I was scared to death of losing all my many hours of hard
work! That is the LAST thing you ever try to do, when trying to recover
your code changes that your Editor lost for you!!! Ouch!
I never thought/suspected that RDI 9.6 would NOT allow me save my source!
Ouch!
But, looking at the error log, it wipe out my source member and also wiped
it out on the IBM i 7.3 too. Panic sunk in, at the thought of losing all my
hard work at refactoring the code and doing massive updates!
It appears by looking at the error log, it WIPE out the member, but saved a
temporary member RSE____.sqlrpgle. So, I discovered eventually, that I had
all my changes in that temporary member. But, I did not realize that right
away....
I cut & pasted the source from LPEX, and tried to save it RDI 9.5.1.2 and
that failed too. Which I was using for a backup. But, people freak out if
all the source dates are changed. Which happens if you cut & paste into a
new member. It resets all the dates. The Microsoft developers laugh at our
punch card format with dates.
So, eventually using the RSE______.sqlrpgle member, I was able to recover
many hours of hard work. Never had to do that before with any version RDI.
Who would suspect that LPEX would NOT ALLOW you save your changes?????
Certainly not me! Excluding connection and/or security errors. Which I had
NEITHER!
Oh well, I sent the error logs to IBM on PMR# 86064 442 000 RDI 9.6/RDI
9.5.1.2 unable to save source.
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike
Hockings
Sent: Thursday, November 23, 2017 11:39 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] RDI 9.6 Code Assist Bug...
Do you happen to be using the same workspace for 9.5 and 9.6 when you see
this issue? Does clearing the cache make any difference?
Mike
Mike Hockings, M.Eng., P.Eng.
DevOps for Enterprise
IBM Developer for z Systems and Power Systems Software Technical Support
IBM Canada Ltd. Laboratory hockings@xxxxxxxxxx
From: Ken Killian <kkillian@xxxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Date: 2017/11/22 13:30
Subject: Re: [WDSCI-L] RDI 9.6 Code Assist Bug...
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
Thanks Buck!
I save the source for the other PMR I will open in December on Unable to
save my source using both RDi 9.5.1.2 & RDi 9.6. Neither one works. But,
SEU allows me to change and save my source... Oh well...
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck
Calabro
Sent: Wednesday, November 22, 2017 12:24 PM
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] RDI 9.6 Code Assist Bug...
On 11/22/2017 10:24 AM, Ken Killian wrote:
Swamped at the moment, I am pretty sure I have reported this issue
before.
I reproduced it and will submit a PMR.
--
--buck
https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.midrange.com&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=6e2xdMW3r0Uwg3tB6lxdVbR3YH6kyx9y77p04_ccaq8&s=Ooa3XbZYC8VcD79YfrHVZdgmoU1IDp2HApStnb5GLGo&e=
Your updates make it better!
--
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:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=6e2xdMW3r0Uwg3tB6lxdVbR3YH6kyx9y77p04_ccaq8&s=JzJrJ8KbQtJUOWNEtWXBXpSEcQubtaXIcR_R3j-cQx0&e=
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=6e2xdMW3r0Uwg3tB6lxdVbR3YH6kyx9y77p04_ccaq8&s=6oz0i_kT_WMsozsN_z4ORmzSetzm93_eSKQYezvmbL4&e=
.
--
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:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=6e2xdMW3r0Uwg3tB6lxdVbR3YH6kyx9y77p04_ccaq8&s=JzJrJ8KbQtJUOWNEtWXBXpSEcQubtaXIcR_R3j-cQx0&e=
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=6e2xdMW3r0Uwg3tB6lxdVbR3YH6kyx9y77p04_ccaq8&s=6oz0i_kT_WMsozsN_z4ORmzSetzm93_eSKQYezvmbL4&e=
.
--
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:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=xVh0JOaBkAaa2_VJvF7mVrroZMIB4ornEW2uKL1r-oM&m=fvdAzLd1fFE4sS8xDZxmwje239ThSdFu2KgEXSlHd98&s=uaCzBNMi1OQr0hLNUuSPhsPx9sU29-SFoHPr9jdK63k&e=
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=xVh0JOaBkAaa2_VJvF7mVrroZMIB4ornEW2uKL1r-oM&m=fvdAzLd1fFE4sS8xDZxmwje239ThSdFu2KgEXSlHd98&s=9P6znT-nwTEHkrInwgoEy5YLJR7bNwkGxSPwx3rML2o&e=
.
--
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:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=xVh0JOaBkAaa2_VJvF7mVrroZMIB4ornEW2uKL1r-oM&m=fvdAzLd1fFE4sS8xDZxmwje239ThSdFu2KgEXSlHd98&s=uaCzBNMi1OQr0hLNUuSPhsPx9sU29-SFoHPr9jdK63k&e=
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=xVh0JOaBkAaa2_VJvF7mVrroZMIB4ornEW2uKL1r-oM&m=fvdAzLd1fFE4sS8xDZxmwje239ThSdFu2KgEXSlHd98&s=9P6znT-nwTEHkrInwgoEy5YLJR7bNwkGxSPwx3rML2o&e=
.
As an Amazon Associate we earn from qualifying purchases.