The following MODIFY works approximately 99.9999% of the time, BUT, occasionally the LINEITEMINS rows get dropped leading me to believe that the user is either closing their session while this is running or loses their connection or some other interuption occurs in the middle of this process resulting in a bad accounting transaction. It was my understanding that the default setting for WF was such that if the MODIFY was interrupted that the interface would issue a rollback for all previous work (BT with no ET). Is this true? Is there another setting that I need to issue in the top of the MODIFY? Thanks. I am using TeraData. joe
CASE MAIN1000 PERFORM INSVOSG PERFORM INSVLSG PERFORM INSMASG IF WH_DISBMODE EQ 'V' OR 'T' THEN PERFORM INSWHSG; ENDCASE
CASE INSVOSG MATCH VO_TBLSEG VO_INVNO ON NOMATCH INCLUDE ENDCASE CASE INSVLSG MATCH VL_TBLSEG VL_INVNO VL_LINENO ON NOMATCH INCLUDE ENDCASE CASE INSMASG MATCH MA_TBLSEG MA_INVNO ON NOMATCH INCLUDE ENDCASE CASE INSWHSG MATCH WH_TBLSEG WH_APPLIC WH_DOCNO ON NOMATCH INCLUDE ENDCASE LOG DUPL MSG OFF LOG NOMATCH MSG OFF DATA ON LOADX END -RUNThis message has been edited. Last edited by: Kerry,
Linux/zVM/WF7.6.11
October 10, 2012, 05:33 PM
Kerry
Hi dojo,
From our technicals: you will need a case with Customer Support Services to debug the issue. Please call 1-800-736-6130, or access online at InfoResponse.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
October 11, 2012, 02:44 AM
Danny-SRL
Hi dojo,
Did you try issuing a COMMIT command after your PERFORM MAIN1000?
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
October 11, 2012, 10:37 PM
John_Edwards
I use the Maintain Commands INSERT and UPDATE which allows me to examine the FocError code returned prior to explicitly issuing a Rollback or Commit. Maybe worth considering. They can be issued in a standard focexec.