Yep, I sure didn't scroll down enough.   Fixed the name; works fine!
THanks !

________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Glen Garrison <[email protected]>
Sent: Monday, December 16, 2024 11:24 AM
To: [email protected] <[email protected]>
Subject: Re: DSPSERV from a subtask fails while successful from the main task

This Message Is From an External Sender
This message came from outside your organization.


In the system codes manual you didn't scroll down far enough.

xx000Dxx
The specified data space name is not correct. It must be left-justified or 
non-blank, can contain only
alphabetic, numeric and national characters, cannot start with a numeric 
character, and must be padded on
the right with blanks


-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Richard Zierdt
Sent: Monday, December 16, 2024 10:54 AM
To: [email protected]
Subject: [EXTERNAL] DSPSERV from a subtask fails while successful from the main 
task

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

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


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