|
I am having a problem with my recent use of a user space. My module creates a user space in QTEMP, and gets a pointer to it using the QUSCRTUS and QUSPTRUS, respectively. I have an array defined, with 32000 elements, based on the pointer that points to the user space. I increment the array counter, and populate the array, and make use of the data later in the program by doing %lookups, etc, all the while tracking the number of elements in the array, to avoid accessing an element I have not placed any data into. It works beautifully, until I reach the extent of the user space. POOF. Is there a way to make a user space auto-extend? I thought they did that by themselves, but apparently not. If I allocate a ridiculous amount of storage when creating the user space, will it dynamically grab the space, or grab it all at once? -- "Enter any 11-digit prime number to continue..."
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.