Paul Gilmartin wrote:
On Sat, 6 Sep 2014 13:16:53 -0700, Alan Young wrote:

Sam Siegel wrote:
My error ... I thought that text units could be added to a dynalloc
request.  After reading the doc, dynalloc appears to be limited to a subset
of svc99 functions.

You might have you use the svc99() function and build your own text units.

BPXWDYN suffers a similar limitation.

You can specify text units in the request by attaching them to the
__miscitems pointer array in the __dyn_t structure.

And, AFAIK, no similar circumvention.


No, dynalloc() will use text units in addition to the mapped parameters.

http://pic.dhe.ibm.com/infocenter/zos/v1r13/index.jsp?topic=%2Fcom.ibm.zos.r13.bpxbd00%2Fdynalloc.htm :

__miscitems

char * __ptr32 * __ptr32

For all other text unit keys not available in __dyn_t, this pointer will let you specify an array of text unit strings. If you specify this field, you must turn the high bit on the last item (as in svc99()). Use the bitwise inclusive-OR (|) operand with the last item and the hexadecimal value 0x80000000.

I've used it to specify parameters like EXPDT which is not directly mapped.

Alan

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to