× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 22 Aug 2013 13:38, Shubhadeep Roy wrote:
<<SNIP>> the QUSCRTUS APi is failing with CPF3C2C (Value &1 for size
parameter is not valid.). I used the maximum allowed value in the
call to this API-

CallP CrtUsrSpc(Wk_UserSpaceNm : ' ' : 16776704 : x'00' : '*ALL' :
'Data Queue Dump' : '*YES' : ApiErrDS);

Could you suggest why I am getting this error?

Try a maximum of 16773120 instead:

http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/apis/quscrtus.htm
_i Create User Space (QUSCRTUS) API i_
"...

_i Optional Parameter Group 3 i_

_Transfer size request_
...
_Optimum space alignment_
... *optimum space alignment ... is the default value*
...

Note: If not using the optimum space alignment, the user space has a maximum size of 16MB minus 512 bytes (16,776,704 bytes). If optimum alignment is specified, the maximum size of the user space is 16MB minus one disk page (current page size is 4096 bytes, giving a maximum space size of 16,773,120 bytes).

..."


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.