contact image


    One of the more powerful tools for iSeries programmers is the user space. Many IBM list APIs use a user space to hold the results of these API calls. A user space is similar to a data area, except that it can be much larger (up to 16 Mb, as opposed to only 2 Kb). It also expands in size automatically as more data is added to it, while data areas are fixed in length. User spaces can be accessed only by using APIs. The below three program show a working example of how to create a userspace, write data to this space and then to read back/display this data.
    There are three programs available in the zip file they are:
    1. CRTSPC Create Userspace
    2. WRTSPC Write to the Userspace
    3. DSPSPC Display the UserSpace

    Download text files