Joe,
XMPOST *does* allow ECBs to be in CSA.
However - a better design for what you are trying to achieve would be :
(1) Waiter task gets ECB storage in *private*
(2) Waiter task places ASCB address and the *address* of the ECB somewhere
"Poster" can find it (maybe in CSA control block - maybe in name/token,,etc) :
L R1,ASCB
ST R1,WAITER_ASCB_ADDRESS
LA R1,WAITER_ECB
ST R1,WAITER_ECB_ADDRESS
(3) Poster task does something like :
IF (ICM,R1,B'1111',WAITER_ASCB_ADDRESS,NZ),AND,
(ICM,R2,B'1111',WAITER_ECB_ADDRESS,NZ)
POST (R2),ASCB=(R1),ECBKEY=8,LINKAGE=SYSTEM,MF=(E,xxxxxx)
ENDIF
No need for Key8 CSA at all.
Rob Scott
Developer
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.617.614.2305
Email: [email protected]
Web: www.rocketsoftware.com
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of
Joe Reichman
Sent: 17 December 2009 09:59
To: [email protected]
Subject: FW: SYSTEM COMPLETION CODE=102 REASON CODE=0000000C.. ECB != -> Task
storage ????
-----Original Message-----
From: Joe Reichman [mailto:[email protected]]
Sent: Wednesday, December 16, 2009 10:53 PM
To: 'IBM Mainframe Discussion List'
Subject: RE: SYSTEM COMPLETION CODE=102 REASON CODE=0000000C.. ECB != -> Task
storage ????
I just started thinking
This doesn't make sense I tested this scenario with the ECB pointing to SP
241
Rob (Scott) Edward (Jaffe)
Forgot one more piece of info
The Wait occurs Under a Different Task (TCB) Then were SP 241 was obtained
The 241 was obtained Under the Main Task Before I Created the Task's (to do the
READ/WRITE) sockets
I know all virtual storage is associated with a TCB
So when I pointed the ECB to SP=0 it was obtained under TCB for which I was
doing the WAIT makes sense ???
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of
Joe Reichman
Sent: Wednesday, December 16, 2009 10:09 PM
To: [email protected]
Subject: Re: SYSTEM COMPLETION CODE=102 REASON CODE=0000000C
I finally got it working
Apparently IEAVPST does like an ECB in CSA or CSA key=8
When I pointed the ECB to WS_DSECT or SP=0 private it worked
LA RX,WS_ECB
ST RX,CSA_KEY8_ECB store address
In Posted program
L RX,ASCB
LA RY,CSA_KEY8_ECB
L RY,0(,RY)
POST (RY),ASCB=(RX),ERRET=XXXX,ECBKEY=8
Thankx again
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of
Rob Scott
Sent: Wednesday, December 16, 2009 2:42 PM
To: [email protected]
Subject: Re: SYSTEM COMPLETION CODE=102 REASON CODE=0000000C
Joe,
Key8 CSA - yuk - I cannot think of any good reasons for it.
Do you have an SVC dump?
What is the PSW before you XMPOST ? (Cos you have to be one (or more) of
APF/Key0-7/Sup to issue XMPOST with ASCB + ECBKEY).
Have you verified the plist passed to POST?
What does the systrace show ?
Rob Scott
Developer
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.617.614.2305
Email: [email protected]
Web: www.rocketsoftware.com
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of
Joe Reichman
Sent: 16 December 2009 18:54
To: [email protected]
Subject: Re: SYSTEM COMPLETION CODE=102 REASON CODE=0000000C
Thankx for the reply as a side note I appreciate all of your help re:
TCP/IP
1) I have verified PASN = HASN
By looking at PSAAOLD and control register 4 for that CPU
2) I save the traget ASCB in CSA
using PSAAOLD my control block is
chained off my SSCB (SSCTUSE)
I just look for my 4 character SSID
Identfier
3) the ECB is from my control block
in CSA didn't think that would a problem (ECB in CSA). SP 241 I know I
shouldn't be setting KEY=8 for CSA (Edward Jaffe screamed at me for that but
don't think that's the problem I have a good reason for doing that which I am
willing to share)
4) The reason code 00C is documented in 1.8 (though we are running 1.9 Thankx
again Sent from my iPhone
On Dec 16, 2009, at 1:15 PM, Rob Scott <[email protected]>
wrote:
> Joe,
>
> Is your PC a space-switch ?
>
> Have you verified the PASN and HASN before the XM POST?
>
> Have you taken an SVC dump with both the PASN and HASN included and
> verified the storage?
>
> How did you locate the ASCB for the target address space?
>
> Does the ECB really exist in the private storage (and correct key) of
> the address space specified by your ASCB= keyword?
>
> S102-C is not documented in my copy of z/OS 1.10 System Codes, however
> I am guessing that it might be the result of some sort of program
> check taken while POSTing the ECB.
>
>
>
>
>
> Rob Scott
> Developer
> Rocket Software
> 275 Grove Street * Newton, MA 02466-2272 * USA
> Tel: +1.617.614.2305
> Email: [email protected]
> Web: www.rocketsoftware.com
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Joe Reichman
> Sent: 16 December 2009 13:47
> To: [email protected]
> Subject: SYSTEM COMPLETION CODE=102 REASON CODE=0000000C
>
> Hi,
>
>
>
> I have been spending days try to resolve this message originally I
> thought it was something I had done in a PC rtn following this message
>
>
>
> As the message in the DUMP following is
>
>
>
> PRIMARY NOT EQUAL TO HOME
>
>
>
> But now I am convinced that its IEAVPST that is going cross memory
> that causing this message the ECB looks okay so does the ASCB
>
>
>
> Below is the code that I use to post the Address Space the address for
> the ASCB and ECB seem to be valid
>
>
>
> I wrote a 2 small programs to test this out and it worked
>
>
>
> If anybody has any hints I would be very grateful
>
>
>
> L R6,MYASCB
>
> LA R7,MYECB
>
>
>
>
>
> POST (R7), ECB
>
> ASCB=(R6), ASCB
>
> LINKAGE=SYSTEM,
>
> ECBKEY=8,
>
> ERRET=CONT ERROR RTN
>
>
>
> CONT DS 0H
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send
> email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send
> email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: GET IBM-MAIN INFO Search the archives at
http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: GET IBM-MAIN INFO Search the archives at
http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: GET IBM-MAIN INFO Search the archives at
http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: GET IBM-MAIN INFO Search the archives at
http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html