If the key 0 ECB is the Communications (Stop/Modify) ECB for the job, your key should be 8. WAIT has special processing to recognize the Communications ECB, and handle that for a non-key 0 WAIT.
If you are running in an address space where not all of the programs are trusted (so a non-trusted program could free a key 8 ECB), then you should not be doing a key 0 WAIT for a key 8 ECB, as that would likely be a system integrity exposure. How would the program under which you are issuing the WAIT have gotten the authorization to get into key 0? What address space are you running in? Is it an APF-authorized job step? What exactly are the ECBs on which you want to WAIT? How did you get the addresses of those ECBs? Jim Mulder z/OS Diagnosis, Design, Development, Test IBM Corp. Poughkeepsie NY IBM Mainframe Discussion List <[email protected]> wrote on 01/30/2017 10:00:46 PM: > From: Joseph Reichman <[email protected]> > To: [email protected] > Date: 01/31/2017 03:24 AM > Subject: WAIT ECB=ECBLIST Storage Key > Sent by: IBM Mainframe Discussion List <[email protected]> > > Hi > > If I have 2 ECB's in storage key 8 one storage key 0 > > What should my storage key be ? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
