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

Reply via email to