> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Scott Ford
> Sent: Wednesday, October 19, 2011 3:53 PM
> To: [email protected]
> Subject: z/OS Control block question
> 
> To all:
>  
> I need to know the dataset names of the files that are 
> allocated (DD stmts) of a STC.
> Can some one point me to the initial CB, I looked at TCB , do 
> I assume this is the place to start ? 
>  
> 
> Scott J Ford
> Software Engineer
> http://www.identityforge.com

Unless the STC runs NODSI, I would use the ISGQUERY to ask GRS what SYSDSN 
enqueues are owned by the STC. It's much easier than scheduling an SRB into the 
address space and running around in memory (chain chasing). I'd use the 
REQINFO=QSCAN, QNAMEMATCH=SPECIFIC, QNAME=sysdsn, RNAMEMATCH=ANY, SCOPE=ANY, 
SERIALIZE_BY=ENQ_ONLY, SYSNAME=ANY_SYSNAME, and JOBNAME=stcname parameters. 
"sysdsn" is the label of a "DC CL8'SYSDSN'" "stcdsn" is a "DC CL8" which 
contains the STC name. I assume it is unique. If not, look at the ASID= 
parameter instead if you know the ASID.

What is really good about this is that it is totally GUPI and so not likely to 
cause problems in the future.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A2B0/121.0

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets®

9151 Boulevard 26 . N. Richland Hills . TX 76010
(817) 255-3225 phone . 
[email protected] . www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets® is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company®, Mid-West National Life Insurance Company of TennesseeSM and The MEGA 
Life and Health Insurance Company.SM

 

----------------------------------------------------------------------
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