Data space creation problem.  DSPSERV from a main task works fine, but if 
issued from a subtask of that main task, it fails with:

SYSTEM COMPLETION CODE=01D  REASON CODE=6B000D11
NO ACTIVE MODULE FOUND - PRIMARY NOT EQUAL TO HOME

>From MVS System Codes for 01D:
xxzz0Dxx
A storage key violation occurred on the specified address space virtual storage.

DSPSERV  parameters  TYPE=BASIC,SCOPE=COMMON  are used.  KEY==X'70'  or  
KEY==X'00' yields the same abend.
Programs are authorized .  TTOKEN of the main task is known.

Using the TTOKEN= parameter on the DSPSERV macro with the TTOKEN of the main 
task makes no difference.
In fact, an incorrect TTOKEN makes no difference either, suggesting the 01D 
abend is issued before TTOKEN is processed.

I'm missing something fundamental here.  The main task and its subtask are in 
the same address space (same ASCB, ASID).
Sounds like a subtask leaves the Primary-Home continuum of the main task.

As far as RTFM goes, I'm reading the Authorized Assembler Services manual and a 
Share presentation from March, 2012 "Dual Address Space & Linkage-Stack 
Architecture" by Dan Greiner which discusses primary and home address space 
concepts, but it's unclear how that relates to main task — subtask environments.

Bottom line, may a subtask create a data space using DSPSERV ?

Thanks
Richard Zierdt

Confidentiality Warning/Avertissement de confidentialité:

This message is intended only for the named recipients. This message may 
contain information that is privileged or confidential. If you are not the 
named recipient, its employee or its agent, please notify us immediately and 
permanently destroy this message and any copies you may have. Ce message est 
destiné uniquement aux destinataires dûment nommés. Il peut contenir de 
l'information privilégiée ou confidentielle. Si vous n'êtes pas le destinataire 
dûment nommé, son employé ou son mandataire, veuillez nous aviser sans tarder 
et supprimer ce message ainsi que toute copie qui peut en avoir été faite.

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

Reply via email to