|
 |
 |
 |
Welcome to Code400.com
|
Okay...We all like to get free stuff..Right?!?
Well thats what we are offering here....Free Stuff
- Free storage for your source code.
- Free access to code
samples. (site search)
- Free place to ask questions or just say what you want.
We are interested in what you have to say.
If you can’t find what your’e looking for on this site....
We will add it.
The small print says: We provide the source code on this site as only
a guide. We do not recommend that anyone run any of the code provided
on this site without first testing it.
If you choose to download source from this site directly onto
your production box without testing....Well, YOU are completely to
blame and we don’t want to hear about it.
Random QuoteIn a world of pollution, profanity, adolescence, zits, broccoli, racism, ozone depletion, sexism, stupid guys, and PMS, why the hell do people still tell me to have a nice day?
--Unknown
| |
 |
 |
|
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:
- CRTSPC Create Userspace
- WRTSPC Write to the Userspace
- DSPSPC Display the UserSpace
DOWNLOAD
Download text files
|
| |