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




Unfortunately EXEC SQL is not yet support with the RPG live outline.
We plan to get to it very soon.



Regards,



Edmund (E.H.) Reinhardt
COBOL IDE on AIX, DDS, WebFacing, System i Application Development,
Rational Developer for Power



2D barcode - Phone: 1-905-413-3125 | Phone: 1-905-854-6195 IBM
encoded with E-mail: edmund.reinhardt@xxxxxxxxxx
contact AIX COBOL: 8200 Warden Ave
information www.youtube.com/user/IBMRational#g/c/62DF24D5BCD43501 Markham, ON L6G 1C7
"In every thing give thanks: for this is the will of Canada
God in Christ Jesus concerning you." - 1
Thessalonians 5:18






From: mgarrison@xxxxxxxxxx
To: wdsci-l@xxxxxxxxxxxx,
Date: 06/08/2012 10:55 AM
Subject: [WDSCI-L] Data structure not listed as referenced on SQL Fetch
in SQLRPGLE
Sent by: wdsci-l-bounces@xxxxxxxxxxxx



I have installed RDP 8.0 and I am doing the following fetch and in the
Outline View it does not list any references to the data structure
dsQADSPOBJ. It does list references to individual data structure
sub-fields that are used later in the code however it does not list the
fetch as as reference at the sub-field level either. It seems to me that
at a minimum there should be a reference listed underneath the data
structure referencing the fetch statement line.

Is anyone else experiencing the same issue? Is anyone aware if this
behavior has changed in later releases or updates?



<codesubset>

*? System API prototypes and data structures
D/include QSYSINC/QRPGLESRC,QUSEC

*? Display Object Description record format
D dsQADSPOBJ e ds extname( QADSPOBJ )

...

//? Declare the cursor for fetching from the DSPOBJD outfile
exec sql declare DSPOBJD cursor for
select * from QTEMP/#MGSYBL ;

//? Open the cursor
exec sql open DSPOBJD ;

//? Fetch data into the data structure
exec sql fetch DSPOBJD into :dsQASPDOBJ ;

...

</codesubset>


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