Search results

  1. Y

    Force Agent to stop...

    Hm... so we put a program that runs on startup. and the program will check for pending request every seconds. Got the point :) Thank you so much.
  2. Y

    Force Agent to stop...

    Another question: How can I make my control program to be executed every period? should I put it in a cron (linux)? or else ways? Thank you.
  3. Y

    Force Agent to stop...

    Again, thanks for your reply Mr. Tom. I never thought about this method before. I'll give it a try. Therefore I'll run big processes in background without using a broker's agent. Sounds great :) Thank you. PS. which part of ubroker.properties file which tell agent to give up/timeout a process...
  4. Y

    Force Agent to stop...

    Hi all. I had a big problem. Recently we work on a project and it has bunch of report. Our biggest mistake is that some of the reports runs on huge data and will take almost forever. FOr the users, if they were bored to wait, they'll simply close the window and open another process. But the...
  5. Y

    Optimum number of agents

    run as a separate session. (e.g _proges -b) Can you please tell me more about this? I'm having the same problem here....
  6. Y

    Creating AutoNumber field

    @Tom: I think you were right..... :( Thanks for your replies :) @sdjensen: this is like my prev method, and sadly it's not working when concurency occurs. :) Thanks for your reply too :)
  7. Y

    Creating AutoNumber field

    Thanks for your reply. I tried the sequence, and it it works. I thank you for that too :D But I have another problem. Some of my friend shared the table with me and it's not possible for everyone of them to change their code shortly. So I use NEXT-VALUE on my own code, not on Database-Trigger...
  8. Y

    My oh my index.....

    Ah. found it :) thanks
  9. Y

    Creating AutoNumber field

    If SQL-Server has an 'Auto Number' datatype, how can I make an autonumber on Progress? I'm having a hard time with this, for often I had concurent events that cause duplication on my autonumber which caused error as it is a unique field. Please help....
  10. Y

    My oh my index.....

    What's PRESELECT???
  11. Y

    My oh my index.....

    Have you ever notice this? I'll try to explain it in code: DEF TEMP-TABLE tmp_table FIELD tmp_a as char FIELD tmp_b as int INDEX tmp_idx1 is primary unique tmp_a INDEX tmp_idx2 tmp_a tmp_b. CREATE tmp_table. SET tmp_a = "A" tmp_b = 1. MESSAGE "LETS START CONFUSING LOOP"...
  12. Y

    Long time processing procedure

    op perhaps you can increase Apache's time-out wait time :)
  13. Y

    Setting OS-GETENV("PWD") to get Broker

    It works! Thank you :D
  14. Y

    Setting OS-GETENV("PWD") to get Broker

    I used to use OS-GETENV("PWD") to get my broker's workDir. And it worked. It returns my WorkDir correctly. E.g. /wrk/trial/ But some time ago I have to work on a friend's server and OS-GETENV("PWD") didn't return my workDir as it's result. Sometimes it returns /www/html, the other time it...
  15. Y

    WARNING--TRANSACTION keyword given within actual transaction level

    My third question: If I had a code like this: DO TRANSACTION : RUN doEverything. END. PROCEDURE doEverything: FOR EACH tbl_a EXCLUSIVE-LOCK. FIND FIRST tbl_b WHERE tbl_b.b_name = tbl_a.a_name EXCLUSIVE-LOCK NO-ERROR. IF AVAIL tbl_b THEN SET...
  16. Y

    WARNING--TRANSACTION keyword given within actual transaction level

    My second question is: As you notice on my code above, I have a procedure called doReset. Here's a part of it's code before I recode it: PROCEDURE doReset: SET vBatch_Par = "". SET vBatch = "". SET vTracebility = ?. SET vSettingWIP# = ?. SET vGBJSupport# = ...
  17. Y

    WARNING--TRANSACTION keyword given within actual transaction level

    @Cringer: Here is my code :) @Tom: Yup, you were right. I have nested TRANCACTION within a TRANSACTION. Have correct my code, and everything is OK. But I'm still confused with one thing. Here is a some of my code before: PROCEDURE doEverything: DEF INPUT PARAM lvTemp_Batch LIKE...
  18. Y

    special characters

    Why do you have to use special character to draw box? Why don't you use pdf_rect or pdf_rect2 from PDFIinclude by Gordon Campbell. It draws rect like a magic :)
  19. Y

    WARNING--TRANSACTION keyword given within actual transaction level

    Can anyone tells me what it was? How can I get rid of it? It happens when I check syntax on my .p. Progress Editor didn't tells where the problem is. I just wanted to know what cause the warning to appears? What did I do wrong. I really have no idea. Please help. My regards YoChan
  20. Y

    WEBSPEED BROWSER's?

    Thank you :D I'll send him (or her???) an email :D
Top