Can't you make a call to RACF (or other security package) to check this?  

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Charles Mills
Sent: Wednesday, September 10, 2014 6:22 PM
To: [email protected]
Subject: How tell if have OMVS Segment

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?

Thanks,

Charles

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

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

Reply via email to