Progress
External Program
Interfaces
setMEMPTR
This procedure sets the specified number of bytes from the MEMPTR variable starting at startIndex (the first byte is 1) in a BytesMessage. The setMemptr procedure implicitly calls clearBody before setting the data and resets after setting the data. Therefore, it can be used whether the message is in a read-only mode or a write-only mode prior to the call. The call makes a copy of the data. Thus, the memptrVal variable is not modified by the 4GL–JMS implementation and can be modified by the 4GL application after the call without corrupting the message:
For information on this procedure in context, see the "Writing and Reading MEMPTR Bytes Data" section in Accessing SonicMQ Messaging From the Progress 4GL."
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |