Updating a temporary data object

After making changes in a window to a temporary object, you can update the object with those changes. You must identify the object and must specify the range of blocks that you want to update. To be updated, a block must be mapped to a window and must contain changes in the window. Window services replaces each block within the specified range with the corresponding changed block from a window.

To update a temporary object, call CSRSCOT. To identify the object, you must supply an object identifier for object_id. The value you supply for object_id must be the same value CSRIDAC returned in object_id when you requested access to the object.

To identify the blocks in the object that you want to update, use offset and span. The values assigned to offset and span, together, define a contiguous string of blocks in the object: Window services replaces each block within the range specified by offset and span providing the block has changed and a window is mapped to the block.