David Alcock wrote:
> 
> > Is there any utility that will display all of
> > the name/token entries on a system?  I am
> > concerned about my new JES2 user exit code
> > that is using the service and would like
> > to see the entries.
> >
> > I searched the archives and the CBT tape
> > and of course the IBM Manuals but did not
> > see anything that answered my question.
> 
> The SHOWZOS program on the CBT tape will show the System level
> N/T pairs and the home level N/T pairs of the A/S executing
> SHOWZOS but that probably won't help you since you are probably
> using Task level or Home (Address Space) level N/T pairs in your
> JES2 exit.
> 
> The SHOWZOS program is helpful because it shows how to use the
> OCO control blocks to display the N/T pairs.  What I've done to
> see the task level N/T pairs in the current address space is to
> traverse all TCBs in the address space to get to the STCB
> (mapped by IHASTCB) which has the STCBNTTP field pointing to the
> N/T pairs for the task.
> 
> Maybe your system monitor product like Omegamon, SYSVIEW, etc
> can display N/T pairs in another address space otherwise you'll
> need to take a console dump of JES2 and then manually look at
> the STCBNTTP fields using IPCS like with the command: SUMM
> FORMAT REGISTERS.

If you're going to take a dump anyway, you can use the nametokn IPCS
command to print the tokens.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/iea2c560/5.65

e.g.
quote=''''  
"evaldef rexx(source(cdsn) problem(prob) qualification(aq))"
parse var aq s1 (quote) casid (quote) s2
casidd = x2d(casid)
"nametokn ascb"casidd" name((MYNAME)) nolist rexx(token(mytoken))"

-- 
Don Poitras - zSeries R & D  -  SAS Institute Inc. -  SAS Campus Drive 
mailto:[EMAIL PROTECTED]   (919)531-5637  Fax:677-4444     Cary, NC 27513

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to