[Progress Communities] [Progress OpenEdge ABL] Forum Post: OpenEdge 11.6 - ERROR - COPY-DATASET must have a valid dataset handle as first argument. (1

  • Thread starter Thread starter atuldalvi123
  • Start date Start date
Status
Not open for further replies.
A

atuldalvi123

Guest
Hello Guys, I am facing this issue when I call below code in a loop. For first 20 or 30 executions below code works but after that it throws an error in AppServer log. Below is the sample code and its running on AppServer - ************************************************ Start ********************************************************* DEFINE INPUT PARAMETER iEmpNo AS INTEGER NO-UNDO. DEFINE TEMP-TABLE ttSal no-undo FIELD EmpNo AS Int. FIELD SalAmnt AS Dec. DEFINE VARIABLE hSalNdl AS HANDLE NO-UNDO. DEFINE dsSal FOR ttSal. *** Class objCom object Definition & initialization *************** objCom:getData(INPUT iEmpNo, OUTPUT DATASET-HANDLE hSalNdl). DATASET dsSal:COPY-DATASET(hSalNdl,FALSE, FALSE, TRUE). ******************************************************** End ************************************************** Pls help

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