Search results

  1. E

    try ... catch ?

    Ok Tom, thanks.
  2. E

    try ... catch ?

    OpenEdge Release 10.1A01 on Win xp sp3
  3. E

    try ... catch ?

    Thanks UncleNel, but I cant do work your code.
  4. E

    try ... catch ?

    Thanks for reply me Stefan,jmac13,RealHeavyDude,rzr. Both codes dont raise the error message, but ERROR-STATUS:ERROR returns false and is not possible get the progress error-message. Try Catch dont exist. These portions of code seems the best solution possible. thanks.
  5. E

    try ... catch ?

    Is impossible to do it something similar to java "try ... catch" ?
  6. E

    try ... catch ?

    Hello, this code: DEFINE VARIABLE hc AS HANDLE NO-UNDO. RUN "libcont" PERSISTENT SET hc NO-ERROR. Show the error : ** CRC for index <indexname> on table <tablename> ... Try recompiling. (7968) if I recompile the .p then the error is fixed, but I want to catch the message error. Is...
  7. E

    Appserver setuserid

    AM RealHeavyDude, thanks for reply me. The following code dont works: KB#21213: AppServer connect procedure: /* asConnect.p */ DEFINE INPUT PARAMETER pcUserID AS CHARACTER NO-UNDO. DEFINE INPUT PARAMETER pcPassWd AS CHARACTER NO-UNDO. DEFINE INPUT PARAMETER pcMisc AS CHARACTER NO-UNDO...
  8. E

    Appserver setuserid

    Hi RealHeavyDude, the Appserver is running in State-reset mode. If I set the connect procedure with SETUSERID, the connection crash and cause "memory violation". Thanks.
  9. E

    Appserver setuserid

    Stefan. In the structured proc. : * if useridset is alone -> works fine. * if useridset is with other procedures -> useridset cause error. Thanks.
  10. E

    Appserver setuserid

    Stefan, thanks for reply me, in all cases I get the same error.
  11. E

    Appserver setuserid

    I need the UserId beacuse its used in the triggers for auditing
  12. E

    Appserver setuserid

    If I do this: "useridset.p" (separate .p file in server): DEFINE INPUT PARAMETER usr AS CHARACTER NO-UNDO. DEFINE INPUT PARAMETER pass AS CHARACTER NO-UNDO. DEFINE INPUT PARAMETER nombase AS CHARACTER NO-UNDO. DEFINE OUTPUT PARAMETER res AS LOG NO-UNDO. res = SETUSERID(usr, pass , nombase)...
  13. E

    Appserver setuserid

    MaximMonin: Thats Dont work. I tried the KB # 21213 with the connect.p procedure, but its raise a "memory violation" too. Thanks for answer me.
  14. E

    Appserver setuserid

    HI, I have: Progress 101a in suse linux 10, Progress 101a in win xp sp2 Appserver is Up, I have a structured procedure ("pr.p") with many procedures and many temp-table definitions. One proc. "useridset" : DEFINE INPUT PARAMETER usr AS CHARACTER NO-UNDO. DEFINE INPUT PARAMETER pass AS...
Top