Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SYSTEM COMPLETION CODE=102 REASON CODE=0000000C

37 views
Skip to first unread message

Joe Reichman

unread,
Dec 16, 2009, 8:47:49 AM12/16/09
to
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 list...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Miklos Szigetvari

unread,
Dec 16, 2009, 10:36:19 AM12/16/09
to
Hi

In my old PC routine, I have a SAC 0 (SYSSTATE ASCENV=P) before the
XMPost

Joe Reichman wrote:

--
Miklos Szigetvari

Development Team
ISIS Information Systems Gmbh
tel: (+43) 2236 27551 570
Fax: (+43) 2236 21081

E-mail: miklos.s...@isis-papyrus.com

Info: in...@isis-papyrus.com
Hotline: +43-2236-27551-111

Visit our Website: http://www.isis-papyrus.com
---------------------------------------------------------------
This e-mail is only intended for the recipient and not legally
binding. Unauthorised use, publication, reproduction or
disclosure of the content of this e-mail is not permitted.
This email has been checked for known viruses, but ISIS accepts
no responsibility for malicious or inappropriate content.
---------------------------------------------------------------

Rob Scott

unread,
Dec 16, 2009, 1:16:40 PM12/16/09
to
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: rsc...@rs.com
Web: www.rocketsoftware.com

Joe Reichman

unread,
Dec 16, 2009, 1:28:02 PM12/16/09
to
Thankx for the reply to my desprate call for help
Anyway just browsed sys1.maclib POST and didn't notice special code
genaration for AR e.g a LAM instruction
but it's worth a shot (setting SYSSTATE ASCENV=P )
As my test program seems to work
Thankx again

Sent from my iPhone

On Dec 16, 2009, at 9:12 AM, Miklos Szigetvari <miklos.s...@ISIS-PAPYRUS.COM

Joe Reichman

unread,
Dec 16, 2009, 1:55:14 PM12/16/09
to
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 <RSc...@ROCKETSOFTWARE.COM>
wrote:

Brian Smith

unread,
Dec 16, 2009, 2:07:37 PM12/16/09
to
Joe,
Make sure the ECB is on a fullword boundary.

Brian

IBM Mainframe Discussion List <IBM-...@bama.ua.edu> wrote on 12/16/2009
01:27:13 PM:

> [image removed]
>
> Re: SYSTEM COMPLETION CODE=102 REASON CODE=0000000C
>
> Joe Reichman
>
> to:
>
> IBM-MAIN
>
> 12/16/2009 01:28 PM
>
> Sent by:
>
> IBM Mainframe Discussion List <IBM-...@bama.ua.edu>
>
> Please respond to IBM Mainframe Discussion List

Joe Reichman

unread,
Dec 16, 2009, 2:25:21 PM12/16/09
to
I declared it. DS F. That would automatically force alignment


Thankx

Sent from my iPhone

Rob Scott

unread,
Dec 16, 2009, 2:43:54 PM12/16/09
to
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 ?

Joe Reichman

unread,
Dec 16, 2009, 10:09:55 PM12/16/09
to
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

Joe Reichman

unread,
Dec 16, 2009, 10:53:22 PM12/16/09
to
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 ???

Peter Relson

unread,
Dec 17, 2009, 10:47:13 AM12/17/09
to
You issued cross-memory post.
The system was able to gain access synchronously to the target space.
An attempt to reference or update the ECB using the supplied key failed.

What did you mean by


"As the message in the DUMP following is

PRIMARY NOT EQUAL TO HOME"?

POST could not care less if an ECB is in private, CSA, or SQA as along as
it is addressable from the target space. Similarly, it does not care what
the key is, as long as the key you tell it to use works.

I would guess that if the ECB truly was in CSA, that it was not key 8.

Peter Relson
z/OS Core Technology Design

J R

unread,
Dec 17, 2009, 1:58:43 PM12/17/09
to
Do you have a typo in your code? What are
these two instructions supposed to do?

> LA RY,CSA_KEY8_ECB
> L RY,0(,RY)


> Date: Wed, 16 Dec 2009 22:08:57 -0500
> From: joere...@OPTONLINE.NET


> Subject: Re: SYSTEM COMPLETION CODE=102 REASON CODE=0000000C

> To: IBM-...@bama.ua.edu


>
> 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
>



_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/

Joe Reichman

unread,
Dec 17, 2009, 1:59:36 PM12/17/09
to
The ECB storage has to have been obtained from the TCB where the wait
is taking place

Sent from my iPhone

Rob Scott

unread,
Dec 17, 2009, 2:18:18 PM12/17/09
to
>The ECB storage has to have been obtained from the TCB where the wait is taking place

Why do you think this?


Rob Scott
Developer
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.617.614.2305
Email: rsc...@rs.com
Web: www.rocketsoftware.com

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-...@bama.ua.edu] On Behalf Of Joe Reichman

Sent: 17 December 2009 18:13
To: IBM-...@bama.ua.edu
Subject: Re: SYSTEM COMPLETION CODE=102 REASON CODE=0000000C

Joe Reichman

unread,
Dec 17, 2009, 6:32:04 PM12/17/09
to
I declared FULL WORD in WS sp=0

And its pointer to an area in CSA and it worked the POST
WS_SP0_PRIVATE

LA RX,WS_SP0_PRIVATE
ST RX,CSA_SP241

In posted program

L RX,CSA_SP241
L RX,0(,RX)
L RY,ASCB

Post (RX),ASCB=(RY),ERRET=XXXX,ECBKEY=8


And waiting program gets posted

Rob Scott

unread,
Dec 18, 2009, 5:07:27 AM12/18/09
to
Joe

This is no such restriction about which TCB owns the storage of an ECB, in fact it is quite common for ECBs to be "owned" by other TCBs rather than the "waiter" TCB.

Binyamin Dissen

unread,
Dec 18, 2009, 5:14:42 AM12/18/09
to
But it has to be HOME addressable to the waiting task.

On Fri, 18 Dec 2009 05:05:34 -0500 Rob Scott <RSc...@ROCKETSOFTWARE.COM>
wrote:

:>Joe

--
Binyamin Dissen <bdi...@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

Rob Scott

unread,
Dec 18, 2009, 5:16:08 AM12/18/09
to
Replying to my post here, however one thing worth pointing out is that if you are using ECBLIST then all ECBs must be in the HASN.

Rob Scott

unread,
Dec 18, 2009, 5:19:27 AM12/18/09
to
Yeah - I sorta thought that was obvious :-)

Andy Robertson

unread,
Dec 18, 2009, 5:56:57 AM12/18/09
to
We have an extensively used ISPF panel with two scrollable AREAs, one
defined as EXTEND(ON)

We are seeing some rather odd scrolling behaviour in the EXTEND(ON) area.
If the users scroll up and then select a row, the next DISPLAY sees that
row at the top of the screen window, even if it's the last row in the AREA
and everything below it is a blank.


Is there any way to control how a scrollable )AREA scrolls?

~~~~~~~~~~~~ Andy Robertson telephone mobile 0777 214 9545 home 01308
420797

**********************************************************************
This email is confidential and may contain copyright material of the John Lewis Partnership.
If you are not the intended recipient, please notify us immediately and delete all copies of this message.
(Please note that it is your responsibility to scan this message for viruses). Email to and from the
John Lewis Partnership is automatically monitored for operational and lawful business reasons.
**********************************************************************

John Lewis plc
Registered in England 233462
Registered office 171 Victoria Street London SW1E 5NN

Websites: http://www.johnlewis.com
http://www.waitrose.com
http://www.greenbee.com
http://www.johnlewispartnership.co.uk

**********************************************************************

Joe Reichman

unread,
Dec 18, 2009, 7:15:06 AM12/18/09
to
I thought that since Wait/Post is similar
To Suspend/Resume....
Whereas Suspend returns the Tcb/Rb
R0/R1 and Reume starts the Tcb/Rb.....

Sent from my iPhone

On Dec 18, 2009, at 5:18 AM, Rob Scott <RSc...@ROCKETSOFTWARE.COM>
wrote:

Peter Relson

unread,
Dec 18, 2009, 8:27:27 AM12/18/09
to
>The ECB storage has to have been obtained from the TCB
>where the wait is taking place

Not true.

Peter Relson
z/OS Core Technology Design

----------------------------------------------------------------------

Joe Reichman

unread,
Dec 18, 2009, 8:46:28 AM12/18/09
to
Peter you have the code in front of you
So I can'nt argue but changing the storage Location of the ECB worked
for me

Sent from my iPhone

Dave Salt

unread,
Dec 18, 2009, 12:24:11 PM12/18/09
to
Andy,

It sounds as though the application is displaying a dynamic area? If so, the program has FULL control over what it sets the value of AREA to. In other words, it's up to the program (and not ISPF) to decide what gets displayed so you need to check what it's setting the value of AREA to.


Dave Salt

SimpList(tm) - try it; you'll get it!
http://www.mackinney.com/products/program-development/simplist.html



> Date: Fri, 18 Dec 2009 10:54:44 +0000
> From: Andy_Ro...@JOHNLEWIS.CO.UK
> Subject: ISPF - scrolling of scrollable areas on panels
> To: IBM-...@bama.ua.edu

_________________________________________________________________
Windows Live: Make it easier for your friends to see what you�re up to on Facebook.
http://go.microsoft.com/?linkid=9691816

0 new messages