Search results

  1. G

    Giving up the will to live

    Our shop has a strong aversion to database (schema) changes (in some cases for good reasons, in others maybe not so much). So, basically, I sympathize ;) But I guess if it's just you and a Procedure Editor, or you have developed a good way of efficiently controlling and propagating schema...
  2. G

    Find Where "Entry" is Currently Applied

    Clicking the button should generate a LEAVE event of the field you were in immediately prior to clicking. So you could watch for that use it to set a global variable that indicates that most recently left field. Watch out for buttons that are activated by means other than a click: eg. RETURN...
  3. G

    Answered Best approach (oo Question)

    This is from Java (I don't know Progress OO to any meaningful extent), but I think the same concepts apply: One of thousands of posts about why static is bad: http://java.dzone.com/articles/why-static-bad-and-how-avoid One of millions about why singletons (statics evil cousin) are bad...
  4. G

    Answered Best approach (oo Question)

    The "external C program" might be relevant; how do you communicate with it and assuming you use a socket or similar, do you keep it open permanently or open & close it for each operation? Besides static, you could read up on singleton, though both are generally frowned upon (especially singleton).
  5. G

    Answered Compatibility of code Progress 9 to OpenEdge 11

    It's not clear to me whether your problem is slowness or a fast result that is incorrectly empty. If it's the latter, my next question would be the definition of FIELD60. I am not aware of any rules around the DATE function changing, but maybe they did, or you have some startup parameter problem...
  6. G

    Answered Compatibility of code Progress 9 to OpenEdge 11

    Can you post the index definitions of incident-report? I second what Tamhas said about compatibility. We have maybe 10,000 .p files and have migrated 6 > 7 > 8 > 9 > 10 and were never compelled to make significant changes to any of them as a result of a Progress upgrade. That said, we haven't...
  7. G

    Error 1006

    10.2B Linux (WebSpeed) HPUX (db) We have been having this problem off and on for the past few days on a system that's been stable for months. This is a remote WebSpeed agent. There are other non-WebSpeed AppServers attached to the same DB (running on a different box) that run fine, as does the...
  8. G

    Question Communicating with an external process via INPUT-OUTPUT

    What's that 'BUFFER' at the end of the INPUT-OUTPUT statement? At least in 11.2, that's undefined syntax. Documentation: http://documentation.progress.com/output/OpenEdge112/oe112html/wwhelp/wwhimpl/js/html/wwhelp.htm#href=ABL/ABL%20Reference/13dvref-IK.027.12.html This note from the doc could...
  9. G

    GC

    2 questions in 2 days ... this can't be good. Can one of you 11.x gurus fill me in on the state of Garbage Collection? The 10.2 doc suggests that GC exists for ".NET and ABL objects" (if it does, we don't use it). #1 - does it apply to 'older' constructs such as CREATE TEMP-TABLE (as opposed...
  10. G

    Catch

    Aha!, BLOCK-LEVEL looks like it makes CATCH pretty useful ( and Java-like). Starts in 11.2, unfortunately; all of us will be in the ground long before my shop is on 11.2, but at least it's a theoretical possibility ;)
  11. G

    Catch

    The way I read the doc, ROUTINE-LEVEL is about IP's within a .P; not .P's calling each other. Here's a trivial example that seems not to work. I think it should suppress the non-existent record error and instead run the MESSAGE. It does if you do the same FIND from within tc1.p, but but when you...
  12. G

    Catch

    10.2B HPUX I was experimenting with 'catch' a little. It seems like it only works within a .P, eg., if x.p runs y.p with a catch block and y.p causes an error, x.p doesn't see it, eg. in other words, the catch doesn't encompass subprocedures. If true, this makes it not very useful IMO. Am I...
  13. G

    Question Performance loss due to Temp-Tables

    I'd settle for file names/line numbers on 'xxx not on file' and 'xxx not available'. I have spent so many 100's of hours over my Progress lifetime sprinkling message statements all over, trying to track down where someone forgot NO-ERROR or AVAILABLE. Maybe .R layout makes this hard - but -...
  14. G

    Question Performance loss due to Temp-Tables

    Just gonna throw out there that - possibly the most awesome piece of software EVER WRITTEN, at least as it affects my daily life ... has to be ... the Chrome/Firefox debugger. If PSC could pull off even 10% of its awesomeness ... well, wouldn't that be something! However for a start, I...
  15. G

    Best method to write an xml document

    I believe WRITE-XML does (indirectly) have *some* flexibility, ie. to make the output different than just a straight XMLification of the temp-table, by way of the XML-NODE-NAME and SERIALIZE-HIDDEN attributes in the temp-table definition. I tried to use these once and ran into Progress version...
  16. G

    Best method to write an xml document

    For me/us, WRITE-XML is what we'd almost always use. We'd only look to SAX (or in some cases we just output XML directly using PUT, but that's a bad idea) if the # of records involved was big enough. I might start worrying about that in the 1,000+ records range, if it were something that lots of...
  17. G

    Question How to get appserver name for code running on an appserver agent

    I believe _MyConnection *is* a VST.
  18. G

    Question How to get appserver name for code running on an appserver agent

    Well ... you could find your PID from VST's, and then grep your log file directory for the one that contains references to that PID. That would be pretty nasty, obviously! You could try looking around VST's more to see if there is anything to help you, but I kind of doubt it.
  19. G

    Answered New to OO Questions

    I'm not versed in Progress OO ... but I assume they follow the convention of every other OO system, which is that whatever's in the constructor will run when you new() each instance, and (basically) never again. I'm not sure about static classes though. Static constructors are a thing in Java...
  20. G

    Question Performance loss due to Temp-Tables

    "If we aren't using no-undo with define temp-table then it will write notes (logs) to .BI file and unnecessary we are growing the size of .BI file." Just to clarify ... I believe local (eg. TT and variable) activity gets written to a so-called "LBI" file, unique to each session, and unrelated...
Back
Top