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



MGarrison,

Thank you for noticing and commenting on this.

Same in my RDP 8.0.3 - I see the DS Data Spec including subfields
and Clear and Occur operations in my outline, but not the Fetch.

If the Clear operation is recorded as a modification, why not the Fetch?

I don't know if this has always been the case, but I do not
make much use of the Global Definitions section.
However, I would like Global Definitions to be complete on the
occasions where I do use them.


-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of mgarrison@xxxxxxxxxx
Sent: Friday, June 08, 2012 8:55 AM
To: wdsci-l@xxxxxxxxxxxx
Subject: [WDSCI-L] Data structure not listed as referenced on SQL Fetch in SQLRPGLE

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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.