×
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.
When I select a parameter, which is a data structure, of a procedure
interface, mark occurrences does not work at all. Selecting the data
structure i_qObj or one of its members (name or lib) somewhere else in
the procedure produces strange results:
// Selecting 'i_qObj' almost works:
// i_qObj in the PI is marked, but not in the PR.
// Selecting 'name' marks i_qObj in the PR, but
// but not in the PI. What about qObj_t? Should'nt
// it be marked, too? Not sure about that.
return i_qObj.name;
Can somebody please confirm that defect, before I open a PMR? See the
sample code included at the bottom.
dcl-ds qObj_t qualified template;
name char(10);
lib char(10);
end-ds;
dcl-proc main;
dcl-pi *n;
end-pi;
dcl-ds qObj likeds(qObj_t);
dcl-s name char(10);
qObj.name = 'QRPGLESRC';
qObj.lib = 'QGPL';
name = Object_getName(qObj);
end-proc;
dcl-proc Object_getName;
dcl-pi *n char(10);
i_qObj likeds(qObj_t) const; // Does not work!
end-pi;
dcl-s name varchar(10);
// Selecting 'i_qObj' almost works:
// i_qObj in the PI is marked, but not in the PR.
// Selecting 'name' marks i_qObj in the PR, but
// but not in the PI. What about qObj_t? Should'nt
// it be marked, too? Not sure about that.
return i_qObj.name;
end-proc;
As an Amazon Associate we earn from qualifying purchases.
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.