is the size of user space auto resizable?
I tested creating a user space with the initial length to 1
QUSCRTUS(userSpace, /* User space name and library */
"temporal ", /* Extended attribute (QUSLOBJ) */
1, /* Size of the user space */
&spaceInit, /* Space initialization */
"*ALL ", /* Public authority to user space */
"TEMP ", /* User space text */
"*NO ", /* Replace existing user space? */
errorCode, /* Error Code */
"*USER "); /* Domain of created user space */
and used the QUSLOBJ API to dump data in it, there is not invalid pointer message nor any error, that test make me thought that the user space is auto resizable but in the documentation indicates that the QUSCUSAT is required to truncate or extend the user space.
In other references that I found into internet says: 'user spaces automatically expand as needed to hold the data placed in them.'
January 9, 2013 4:38 PM
January 9, 2013 6:19 PM