All:
I have been reading through the MVS Programming Extended Addressability Guide
and have a question about DSPSERV usage.
If I create a job that creates a DSPSERV like below:
DSPEXMPL CSECT
DSPEXMPL AMODE 31
DSPEXMPL RMODE ANY
BAKR 14,0
SAC 512
SYSSTATE ASCENV=AR
LAE 12,0
BASR 12,0
USING *,12
DSPSERV
CREATE,NAME=DSPCNAME,STOKEN=DSPCSTKN, x
BLOCKS=DSPBLCKS,ORIGIN=DSPORG
DSPCNAME DC CL8'TEST0001'
DSPCSTKN DS CL8
DSPCSIZE EQU 1000000
DSPBLCKS DC A((DSPCSIZE+4095)/4096)
And the job ends, does this mean the dataspace created is deleted ? I realize
you have to have an access list entry and delete the access list entry first
and then the dataspace. What I want is the dataspace created and the job to end
and another process populate the dataspace with data. Then a STC would read
the dataspace to retrieve the stored data.
Presently we use another mechanism, basically a subpool to store data, but I
want to get away from that design and feel the dataspace is better suited for
the data and the amount of data.
If I am thinking wrong or I have the sequence of events wrong, please feel free
to comment. I am new with dataspaces and want to design this correctly.
Many thanks,
Scott J Ford
Software Engineer
http://www.identityforge.com/