Our code uses # of blocks, but that would imply the sample code below
should be ...BLOCKS=DSPBLCKS, rather than DSPCSIZE???
Gary
Gary Weinhold
Senior Application Architect
DATAKINETICS | Data Performance & Optimization
Phone +1.613.523.5500 x216
Email: [email protected]
Visit us online at www.DKL.com
E-mail Notification: The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
__________
On 2015-10-15 12:56, Scott Ford wrote:
I want to be able to pass an Assembler Subroutine a space allocation for
DSPSERV.
The macro below ( from IBM Manual ):
DSPSERV CREATE,NAME=CCACHE,STOKEN=VOYTOKEN, C
BLOCKS=DSPCSIZE,ORIGIN=DSPCORG
......
DSPCSIZE EQU 1000000 * 1 Million Bytes *
DSPBLCKS DC A((DSPCSIZE+4095)/4096
The question is do I have to do the 'DSPBLCKS' calcuation as shown before I
do the call from the other program , this way DSPSERV only has to ask for
the number of blocks ? Or am I misunderstanding ?
Thanks in Advance,
Scott