Paul (o) Where is your SRBWORK block located? (from your description, it needs to be in storage that is shared between the two ASIDs)
(o) Have you dumped the contents of SRBWORK and validated the contents? (o) Does the value in SRBSTOKEN match the value in the ASSBSTKN field of the target ASID (o) What is the contents of offset 8 into the IEAMSCHD parameter list? (This should match the ASSBSTKN of the target ASID) (o) Is the target ASID still active ? Rob Scott Lead Developer Rocket Software 77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA Tel: +1.781.684.2305 Email: [email protected] Web: www.rocketsoftware.com -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of [email protected] Sent: 20 October 2013 19:40 To: [email protected] Subject: Clarification of SAC7 Abend Hi, I need a better understanding of a SAC7 Abend when using IEAMSCHD to schedual an SRB to another program that resides in another Address Space. I issue this macro from my schedualing address space: IEAMSCHD EPADDR=SRBRTN@, PRIORITY=LOCAL, PARM=SRBPARM@, ENV=STOKEN, TARGETSTOKEN=SRBSTOKEN, KEYVALUE=INVOKERKEY, FEATURE=NONE, SYNCH=YES, LLOCK=NO, RMTRADDR=RTMRTN@, FRRADDR=FRRRTN@ DS 0D Alignment SRBWORK EQU * .SRB Routine Work Areas SRBRTN@ DS A .Address Of Target SRB Routine RTMRTN@ DS A .SRB Recovery Termination Routine FRRRTN@ DS A .SRB Functional Recovery Routine SRBPARM@ DS A .Parameters For SRB Routine SRBSTOKEN DS XL8 .Target/Home Address Space Token SRBRETCODE DS A .Return Code From IEAMSCHED DS A .Reserved * I would like to have the above IEAMSCHD schedual an SRB to another Program in another Address Space (the Target Address Space). The Target Address Space previously made available the SRBWORK structure (above) to the Scheduling Address Space: The Address Of SRB Routine SRBRTN@ was Previously loaded by the Target Address Space. TARGETSTOKEN SRBSTOKEN obtained by ALESERV EXTRACTH,STOKEN=SRBSTOKEN in the Target Address Space. The Recovery Routines (FMTADDR and FRRADDR) were previously loaded by the Target Address Space and contain the Address Of the Recovery Routines. When I issue the IEAMSCHED macro, and Abend SAC7 occurs without any dump. I looked up ABEND=SAC7 with REASON=00080001 in messages and codes. It refers to an inappropriate Space Token. So did I incorrectly obtain the Space Token Of The Traget Address Space ? I used the ALESERV EXTRACTH,STOKEN=SRBSTOKEN, I thought that was correct. Can anyone point me in the right direction to resolve this. Paul D'Angelo ************* ---------------------------------------------------------------------- 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
