IEAMSCHD and the fields you asked about are documented in z/OS MVS Programming: Authorized Assembler Services Reference EDT-IXG.
Regards, Jon Perryman. ________________________________ From: "[email protected]" <[email protected]> To: [email protected] Sent: Sat, June 23, 2012 9:16:21 AM Subject: Some Help with IEAMSCHD Im trying to get familiar with using IEAMSCHED. This is purly educational on my part. I have a module with Three CSECTS The First CSECT ISSUES ALSERV EXTRACT AUTH toget the SPACE TOKEN The First CSECT issues IEAMSCHD with the following parameters: IEAMSCHD EPAADR=address of CSECT2 ENV=STOKEN FEATURE=NONE FRRADDR=Address_of_CSECT3 PRIORITY=LOCAL PARM=address of 256 byte parameter area KEYVALUE=INVOKERKEY LLOCK=NO SYNCH=YES SYNCHCOMPADDR=address_of_a_full_word SYNCHCODEADDR=address_of_a_full_word SYNCHRSNADDR=address_of_a_full_word RETCODE=ARET_CODE CSECT2 Has the Actual SRB ROUTINE. It Does no actual work CSECT2 Issues A WTO with the BRANCH parameter (not ann SVC)d and Returns CSECT3 is a dummy FRR Routine which also does nothing at this point except a WTO (not an SVC). This is strictly educational only. Now I run my module which tries to schedule an SRB to its own address space. And It Abended, which is good because Im learning. Upond Return From the IEAMSCHD Register 15 had a value of 0000001C SYNCHCOMPADDR points to a full word containing 00000008 SYNCHCODEADDR points to a full word containing 00D23000 SYNCHRSNADDR points to a fill word containing FF050006 1) Does any one know what these Values mean ? 2) Where exactly do I look These Values UP ? I suspect they are related to the SDWA .. Thanks Paul D'Angelo
