[progress Communities] [progress Openedge Abl] Forum Post: Re: Accessing Temp-tables &...

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

atuldalvi123

Guest
Thanks Peter. But here I am not using any BY-REFERENCE keyword for the output dataset and still it works for me. and so I am not sure on whether I am using the correct coding steps or not. U can have a look on my below code as well - /****** Super proc - StartSup.p **** Running continuously on appserver ******/ {dsPars.i} /* Having dataset and temp table def */ . . /* logic to fill data set and temp tables */ . . /* function to return dataset as a handle */ FUNCTION getParamts RETURNS HANDLE: RETURN DATASET DsPars:HANDLE. END. /********* Caller ******** caller.p *******/ {dsPars.i} /* Same .i */ RUN getParams(OUTPUT DATASET DsPars). . logic to use the dataset & temp tables . . PROCEDURE getParams: DEFINE OUTPUT PARAMETER DATASET-HANDLE hDsPars. ASSIGN hDsPars = DYNAMIC-FUNCTION("getParamts"). /* Call to the appserver super proc function */ FINALLY: DELETE OBJECT hDsPars. END FINALLY. END PROCEDURE. Do I need to delete the output DataSet here aswell or have to use by-reference keyword for the output dataset ?

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