Search results

  1. TomBascom

    systr-trigger

    BTW -- since there is no such thing as /proc/systr-trigger Jame's reply is spot on. Your original question will simply create a file with that name that has a "w" in it (if you have permission to write in /proc). Careful spelling, especially of commands and error messages that you want...
  2. TomBascom

    systr-trigger

    Mike, "systr-trigger" does not seem to be a thing. You magically changed your question to "sysrq-trigger" replying to James. That is a real thing. A few minutes with Google reveals: (From Red Hat): 5.2.29. /proc/sysrq-trigger Using the echo command to write to this file, a remote root user...
  3. TomBascom

    Question Monitoring R-code activity

    I don't mean to be rude but this is a fairly strange area to focus on for someone who appears to be a beginner. What is it that you are trying to achieve? What is your goal with exploring these questions? For what it is worth I, personally, have a couple of uses for that data: 1) if you...
  4. TomBascom

    Question Monitoring R-code activity

    What does the startup parameter documentation have to do with "monitoring r-code activity"? When I hear "monitoring r-code activity" I think of the profiler. Line by line execution statistics. How often each line of code was run and how long it took. Or, perhaps, a subset of that data: what...
  5. TomBascom

    Progress startup parameter

    I eagerly await his clarification.
  6. TomBascom

    Progress startup parameter

    “Startup parameters” are associated with a session, not individual procedures. Do you mean the input and output parameters?
  7. TomBascom

    Question FILE-INFO alternative

    How about: How to identify format of date in windows dir command? Not ideal. But depending on how much control you have it might be a suitable solution.
  8. TomBascom

    Question FILE-INFO alternative

    What about OS-DIR?
  9. TomBascom

    Question FILE-INFO alternative

    That will also immediately break on any UNIX ;)
  10. TomBascom

    Resolved Error message when executing a structured procedure with the appbuilde

    The thing that I am afraid of is why, in very late 2018, anyone is adding include files. For any reason. Or using "structured procedures". None the less... the kb tells you exactly why: When the AppBuilder runs code it looks for a specific line of text in the source file to determine whether...
  11. TomBascom

    Question What is the best way to make an httpRequest using a progress client application?

    "best" always depends on your specific requirements. There are tradeoffs to be made. For instance, you *appear* to be stuck in a Windows environment. Do you want (or need) to escape that strait-jacket? Or does being locked in to Microsoft comfort you in some way? Are you comfortable with...
  12. TomBascom

    code-page conversion table from UTF-8 to single-byte code pages description or example

    You cannot universally convert from UTF-8 to a "single byte code page". You could convert a subset but there are obviously going to be square pegs that will not fit into round holes. For instance, what single byte character would you like to have (aka U+1F984 or 0xF0 0x9F 0xA6 0x84) map to?
  13. TomBascom

    Question more efficient query to modify

    To be clear -- in spite of my comments above I still have a lot of bad habits in my own code. I borrow free reference buffers far too often and abuse variables scoped to the procedure block with abandon. I tell myself that I have "reasons". But mostly I'm just being a lazy slob. I do work...
  14. TomBascom

    Question more efficient query to modify

    Actually, no, that isn't all of your code. It is just a somewhat larger snippet. But no matter -- I'm not going to go through your whole application fixing all of its problems in a discussion forum. What I can tell you is that this code exhibits a lot of very poor record scoping right along...
  15. TomBascom

    Question Following the way of changing a value

    For completeness... the default lock wait timeout for non-webspeed clients is 30 minutes. The startup parameter is "-lkwtmo". 30 minutes is an eternity. IMHO the default should be 10 seconds everywhere and the minimum should be measured in milliseconds but the documented minimum for...
  16. TomBascom

    Question HOW DO I MODIFY THE ISO DATE FORMAT MASK?

    Does the XSD *have* to be created from the same TT definitions as the XML? It seems to me that the other party has no way to know... You are already outputting XML in the format that they want (I see "I'm already doing that" above) so why not simply edit the XSD and change the datatype from...
  17. TomBascom

    Question more efficient query to modify

    For what I see here, no, I would not create two different procedures. I would create a single "updateCustomer_validate" procedure since that code is reused without any changes. You have "Customer", "bcCustomer" and "updCustomer". It might be because I lack an understanding of the code that...
  18. TomBascom

    Question more efficient query to modify

    You are only showing tiny little bits of hypothetical code so it is difficult to say if that would be "better" or not. But there is a lot to be said for using a small carefully crafted procedure for the update.
  19. TomBascom

    Question more efficient query to modify

    The gold standard for such things is, sadly, long out of print. But if you can find a copy of "Programmers Progress" that would be perfect. https://www.amazon.com/Programmers-Progress-guide-progress-language/dp/B0006P8X5S
  20. TomBascom

    Question more efficient query to modify

    No, you should not do that. That misses the whole point of what I just said.
Top