Bob 

I suspect it is!

"The following code obtains the dub status information for 
 the current task. The status indicates whether the current
 task has already been dubbed, is ready to be dubbed, or cannot
 be dubbed as a process (or thread)." 

Yes, that's the sort of thing I was looking for: call foo() and get a return
code.

Am I correct in assuming that "cannot be dubbed ..." == lacking an OMVS
segment?

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Bob Rutledge
Sent: Wednesday, September 10, 2014 4:01 PM
To: [email protected]
Subject: Re: How tell if have OMVS Segment

Charles Mills wrote:
> I am responsible for an LE-enabled program that runs as a conventional 
> STC but uses various USS services and hence requires an OMVS segment. 
> Currently, if it does not have one, it fails with a U4093/90 (?) 
> ABEND. I would like it to be a little neater than that and put out a 
> "No OMVS segment" message and quit gracefully.
> 
> Is there a function or MACRO that will tell me yea/nay on having an 
> OMVS segment?

Is BPX1QDB what you're really looking for?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to