Trying to POST a WAIT ECB in a different address space. I'm getting a 602 abend: "The target address space control block (ASCB) is incorrect."
Lots of doc exists about cross memory communication but not finding much about the POST macro using its ASCB parameter (other than IBM authorized services). If something else is available, I'm very happy to RTFM. Here's the scenario: 1) Started task A creates a name-token pair containing its ASCB and ECB addresses (IEANTCR data sharing) 2) Started task A then WAITs on the ECB 3) Job B is started and retrieves the name-token pair (IEANTRT) 4) Job B MODESETs to supervisor, key zero 5) Job B issues a POST: POST ECBtokn, ECB address from Token (Name-Token pair) + ASCB=ASCBtokn, ASCB from Token (Name-Token pair) + ERRET=PostErrR, + LINKAGE=BRANCH, + ECBKEY=0 ASCBtokn DS A ASCB of started task address space ECBtokn DS A address of ECB in started task 6) Job B abends w/602: "The target address space control block (ASCB) is incorrect." LINKAGE=SVC and LINKAGE=SYSTEM were tried and returned the same abend. Also, the List and Execute macro forms of POST were tried with the same 602 result. (List / Execute does an SVC call) PSW AT TIME OF ERROR 040C1000 813CF198 ILC 2 INTC 0D NO ACTIVE MODULE FOUND NAME=UNKNOWN DATA AT PSW 013CF192 - 00181610 0A0D96A0 20105860 AR/GR 0: 008FEA64/84000000 1: 00000000/84602000 2: 00000000/00000000 3: 00000000/008ECD64 4: 00000000/008ECD40 5: 00000000/201004E4 6: 00000000/008DBFC8 7: 00000000/00FA7300 8: 00000000/013CF5E0 9: 00000000/A0100000 -> Program B A: 00000000/80000000 B: 00000000/A010041C -> ECB of A C: 00000000/201002A0 D: 00000000/20100418 -> ASCB of A E: 00000000/A0100226 F: 00000000/00000000 ASCBtokn contains x'00FA7000' ECBtokn contains x'20100F20' (address of the ECB in the started task) These values are correct; the name-token pair communication works. Started task and job are both AMODE 31 RMODE ANY. System is z/OS 02.05. Sometimes, IBM macro parameters want the address of the address of. So, ASCB==A(ASCBTokn) was also tried with the same 602 abend result. Salient WAIT code in started task A: Wait ECB=ECBWTPT, Wait for another address space to + LINKAGE=SYSTEM POST this ECB ECBWTPT DC F'0' ECB for Wait-Post Thoughts on what's not working? A working example of POST macro w/ASCB parameter would be appreciated. Or CBT tape, etc. 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN