Thanks Rob and Steve.  Most helpful.

Regards,
Steve
 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Rob 
Scott
Sent: Thursday, May 10, 2007 11:59 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: ASCB question

See the OUCBOMVS bit setting in the OUCB.

ASCBOUCB points to the OUCB


Rob Scott
Rocket Software, Inc
275 Grove Street
Newton, MA 02466
617-614-2305
[EMAIL PROTECTED]
http://www.rs.com/portfolio/mxi_g2

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
Bielskie, Stephen
Sent: 10 May 2007 11:30
To: IBM-MAIN@BAMA.UA.EDU
Subject: ASCB question

I have a REXX program that scans through the ASCBs to collect
information about active STCs, JOBs, etc.   It appears the address of a
started task name is located in the storage pointed to by the ASCBJBNS field.  
If ASCBJBNS is zero, then I check to see if it is an initiated
job by reading in ASCBJBNI field.   I guess since the OMVS subtask (such
as INETD) are run under BPX initiators, they are considered initiated jobs and 
the name of the task is in the ASCBJBNI field.  

The question is:
Does anyone know a way to tell if an initiated job is an OMVS task or a batch 
job, programmatically?  The ASCB doesn't seem to contain that information.

Thanks,
Steve


Stephen Bielskie
Assistant Vice President
CIO - TIS - Mainframe Princeton
KITF 

CREDIT  SUISSE  

Princeton, NJ
Telephone : (609) 243-0711
Email :[EMAIL PROTECTED]




========================================================================
======
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
========================================================================
======

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

==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================

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