[progress Communities] [progress Openedge Abl] Forum Post: Re: Pass Input-output Temp Table...

  • Thread starter Thread starter Frank Meulblok
  • Start date Start date
Status
Not open for further replies.
F

Frank Meulblok

Guest
"Can I specify in subsequent calls, client procedure NOT to send to AppServer procedure existing records?" Not directly, no. Alternative approaches: 1. Avoid passing the table back in as input. In other words, change the procedure to use an OUTPUT TABLE-HANDLE parameter. This is assuming the server-side procedure knows how to construct the correct schema from the fields description. 2. To fetch new batch, clone the schema on client side to new dynamic temp-table (use CREATE-LIKE method for easy cloning). Pass the new, empty table with correct schema to the appserver, let client merge back the data into the main table. 3. Instead of cloning the temp-table object, save overhead and serialize schema using write-xmlschema. Input that to appserver, appserver can that to reconstruct schema and pass table back as output only.

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