We had a customer trying to use MQ AMS, but having problems because the environment was not protected. They had protected the MQ libraries, but it was still failing.
I could see CEEBINIT was being loaded, but where was it coming from - it was not steplib.
I used the very useful ISPF utility ISRDDN.
type TSO ISRDDN
This provides a list of all your datasets, ones you have for your TSO session, as well as LPA etc
Current Data Set Allocations Row 1 of 116 Command ===> Scroll ===> CSR Volume Disposition Act DDname Data Set Name Actions: B E V M F C I Q CAP005 SHR,KEEP > ADMGDF PAICE.ADMGDF CASY01 SHR,KEEP > ADMPC PP.GDDM.ZOS180.SADMPCF CASY01 SHR,KEEP > DITPLIB PP.DITTO.V130.SDITPLIB CAP009 SHR,KEEP > IPCSDDIR PAICE.DDIR CASY01 SHR,KEEP > IQITLIB PP.ISPFTOOL.V610.SIQITLIB CAP003 SHR,KEEP > ISPLLIB SYS2.DB2.V10.SDSNEXIT CAP011 SHR,KEEP > SYS2.DB2.V10.SDSNLOAD
Current Data Set Allocations Row 163 of 222 Command ===> Scroll ===> CSR Volume Disposition Act DDname Data Set Name Actions: B E V M F C I Q CASY01 > LPALIB SYS1.LPALIB CASY01 > SYS1.SORTLPA CASY01 > SYS1.SICELPA CASY01 > PP.DEBUG.V13.SEQALPA
Type Member CEEBINIT
*** WARNING *** *** WARNING *** This function may search Linklist, LPA, Parmlib or APF libraries. At some sites this may lead to security violations. To allow scanning of these libraries enter YES below: PF3 to exit from this panel. Type YES to proceed . . . NO (Enter SKIP to proceed and to skip this panel in the future.)
Current Data Set Allocation Member was found Command ===> Scroll ===> CSR Message Act DDname Data Set Name Actions: B E V M F C I Q Member: CEEBINIT > LINKLIST PP.ADLE370.ZOS202.SCEERUN > PP.ADLE370.ZOS202.SCEERUN2
This showed me it was in PP.ADLE370.ZOS202.SCEERUN in Linklist
I could then use the RACF command tso rlist program * to check if the data set was protected
What are the actions?
The actions I can do are ( see the help)
B Browse the first sixteen data sets or a single data set.
E Edit the first sixteen data sets or a single data set.
V View the first sixteen data sets or a single data set.
M Show an enhanced member list for the first sixteen data sets or a single data set.
F Free the entire DDNAME.
C Compress a PDS using the existing allocation.
I Provide additional data set information.
Q Display list of users or jobs using a data set.
This section is for the web crawlers to find...
The original problem was getting
pthread_security_np errno 139 errno2 199754415 0x0be802af x0be802af EDC5139I Operation not permitted
The errno2, or errnojr has two parts x0be8 and 02af. x0be8 tells IBM which module it was, and the x02AF is described in Reason codes (errnojrs) in the USS messages and codes.
In testing this I wrote a small program to issue pthread_security_np errno, and got code ESRCH ( 143 No such process )
This was because I issued it on the main thread. When I used pthread_create to create another task it worked fine!