[progress Communities] [progress Openedge Abl] Forum Post: Re: How To Report All Tasks That...

  • Thread starter Thread starter Jeff Ledbetter
  • Start date Start date
Status
Not open for further replies.
J

Jeff Ledbetter

Guest
"How can I query which objects in the test workspace failed to compile?" At the time of the compile, or some time after the fact? "..how can I query which objects need to compile.." Although there is official API, checking the update status of the Object would tell you which Objects are in need of compilation (assuming xref is enabled). If using the plug-in, this could done via the Roundtable Search provider (on the search UI). Manually, here is an alternative that doesn't directly hit the db, but I'm not sure if this is what you are seeking: {rtb/i/rtb_datasetnames.i} {rtb/i/rtb_objtypes.i} &SCOPED-DEFINE MODIFIED "M" DEFINE VARIABLE cRowident AS CHARACTER NO-UNDO INITIAL "". DEFINE VARIABLE hBuf AS HANDLE NO-UNDO. DEFINE VARIABLE hTT AS HANDLE NO-UNDO. RUN rtb/proxy/p/rtbGetRowValues.p (INPUT-OUTPUT cRowident, 0, "{&DS_OBJECT}", INPUT-OUTPUT TABLE-HANDLE hTT, FALSE). hBuf = hTT:DEFAULT-BUFFER-HANDLE. hBuf:FIND-FIRST(). ASSIGN hBuf::wspace-id = "devel" hBuf::obj-type = {&PCODE} hBuf::update-status = {&MODIFIED}. RUN rtb/proxy/p/rtbGetRowValues.p (INPUT-OUTPUT cRowident, 0, "{&DS_OBJECT}", INPUT-OUTPUT TABLE-HANDLE hTT, FALSE). FINALLY: DELETE OBJECT hTT NO-ERROR. END FINALLY.

Continue reading...
 
Status
Not open for further replies.
Back
Top