O'Reilly logo

APIs at Work, Second Edition by Ron Hawkins, Doug Pence, Bruce Vining

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Automatically Extendable User Spaces

Much like a database file, a user space has the capability to increase the amount of storage it uses. When a user space is written to by a list API, the API will temporarily allow it to grow to the size needed to accommodate the returned data. The user space, however, will not grow beyond 16MB or the storage limit of your user profile.

To have a user space automatically extend itself independent of using it with a list API, use the Change User Space Attribute API (QUSCUSAT). Table 1.7 shows the parameters for QUSCUSAT.

Table 1.7. The QUSCUSAT Parameters
ParameterDescriptionTypeSize
1Returned Library NameOutputChar(10)
2Qualified User Space NameInputChar(20)
3Attributes to ChangeInputChar(*)
4Error CodeI/OChar(*) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required