[Progress Communities] [Progress OpenEdge ABL] Forum Post: DBTASKID(1) gives ? (NULL)

Status
Not open for further replies.
S

SJProgress

Guest
Hi, we face a strange problem with DBTASKID function. He have some replication code relying in DBTASKID() function. (OE 11.6 and OE 11.7) Code looks like: TRIGGER PROCEDURE FOR REPLICATION-WRITE OF customer OLD BUFFER oldcust. DO ON ERROR UNDO, LEAVE: CREATE RepData. ASSIGN RepData.RepDataID = NEXT-VALUE(RepdataID) RepData.DTCreate = NOW RepData.TransID = DBTASKID(1) RepData.TabName = "customer" ... . END. Everything works fine. - Database is connect (always same one database via TCP; we do no disconnect/connect; only one connect at startup) - Record Repdata is created - NEXT-VALUE(RepdataID) from sequence works OK - all data is written OK !! BUT RepData.TransID = DBTASKID(1) = ? I will open an issue with tech support. But we cannot reproduce this situation in any way. Just see that it happens from time to time. So question to the community: Maybe someone alraedy faced this problem? Any hints where to search or look to be able to make DBTASKID(1) to become NULL ? Thanks for any feedback Josef

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