Hi Kyle,
I was able to reproduce it also on Windows; please contact IBM support so we can fix the issue. I'd prefer to add better reporting to the Failed initial conditions message also.
It's related to not being able to find global specs. Once there is one, the feature works fine.
Thanks!
Steve Ferrell
w. www.helpsystems.com
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Kyle Lawson
Sent: Thursday, July 9, 2020 9:11 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: [WDSCI-L] Refactor -> Extract Constant Fails
External: Pause and review the sender's email address, any URLs before clicking links, opening attachments, or following requests. When in doubt, contact the Service Desk.
An exception is through with a message of "Failed initial conditions".
Here is my source code:
**free
ctl-opt nomain option(*srcstmt);
/copy vdm001r_h
/copy vdm001dr_h
dcl-proc viewMenu export;
dcl-ds output likeds(output_t);
dou output.exitRequested;
displayMenu(output);
if not output.exitRequested;
select;
when output.optionSelected = '1';
endsl;
endif;
enddo;
end-proc;
I am trying to extract the '1' to a constant; I will note this is an iproject. The source is on my machine and remote reconciled to the server. I am also on a mac running rdi 9.6.0.8.
Does anyone else have an issue with this?
Thanks
--
Kyle Lawson
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.