ca.portal.admin

Re:question about numbered user exits

Discussion created by ca.portal.admin on Oct 18, 2010
I am reading Chris Hoelscher's article on z/IIP exploitation in the
September 2010 ""IUA Connections"" with great interest as our site
experienced the problem that he describes. Chris indicates that the
numbered user exits can contribute to TCB/SRB swapping. We use exit 28
(security pre-processing) and I am wondering if this could account for
some of the high swapping rate that we saw.

Here is my question: Is there any way to determine how many times a
numbered user exit is actually being executed?

Kay Rozeboom
State of Iowa
Information Technology Enterprise
Department of Administrative Services
Telephone: 515.281.6139 Fax: 515.281.6137
Email: Kay.Rozeboom@Iowa.Gov

*****JuliusBaer Disclaimer***** This e-mail is for the intended
recipient only and may contain confidential or privileged information.
If you have received this e-mail by mistake, please contact us
immediately and completely delete it (and any attachments) and do not
forward it or inform any other person of its contents. If you send us
messages by e-mail, we take this as your authorization to correspond
with you by e-mail, however, we will not accept the electronic
transmission of orders/instructions without a specific agreement being
in place to govern the same. If you do not wish to receive any further
e-mail correspondence please let us know. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be
intercepted, amended, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. Neither the Julius Baer Group nor the
sender accept liability for any errors or omissions in the content of
this message which arise as a result of its e-mail transmission. Please
note that all e-mail communications to and from the Julius Baer Group
may be monitored. This communication is for informational purposes only.
It is not intended as an offer or solicitation for the purchase or sale
of any financial instrument or as an official confirmation of any
transaction.
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: question about numbered user exits
"You get it if you've set the CSATST49 flag on.

Iain Robertson
BT Operate, Senior DBA
Telephone: +44 (0)20 8456 7108
Email: iain.dk.robertson@bt.com
=20
-----Original Message-----
From: IDMS Public Discussion Forum=20
[mailTo:IDMS-L@LISTSERV.IUASSN.COM] On Behalf Of David E=20
Matthews (DHL CZ)
Sent: 19 October 2010 09:00
To: IDMS-L@LISTSERV.IUASSN.COM
Subject: Re: [IDMS-L] question about numbered user exits
=20
Well, wait a minute...
What is this chgemode display? How do I get it, please?
dem
=20
-----Original Message-----
From: IDMS Public Discussion Forum [mailTo:IDMS-L@LISTSERV.IUASSN.COM]
On Behalf Of Siraco, John A
Sent: Monday, October 18, 2010 5:16 PM
To: IDMS-L@LISTSERV.IUASSN.COM
Subject: Re: question about numbered user exits
=20
Hi Chris,
=20
You are correct. IDMSCOMP and IDMSCOM are allowed to run in SRB mode.
All others require TCB mode. (It has nothing to do with the name. In
other words, you couldn't name a DB proc IDMSCOMP and have it=20
run in SRB
mode). The majority of ""overhead"" when using the zIIP option=20
comes from
swapping back and forth so the less swapping the better.
=20
In my opinion, with respect to the question related to performance. I
would suggest you hard link RHDCUXIT exits with RHDCUXIT as opposed to
defining them as programs and having them called using Standard DC
services. A simple BALR is a lot faster than having the=20
RHDCCXIT module
issue a #CALL to a program. The call and the code path is a lot longer
than the BALR. In a sense this is a lot like linking ""BIFS"" with ADS.
I've heard of and seen some fairly impressive numbers on this subject.
As far as SRB/TCB/SRB swapping, we will always swap to TCB mode when
calling an RHDCUXIT exit.
=20
If you want to see where swaps are occurring you could specify
""CSATST49"" in your SYSIDMS file. I would only do this on a non
production system simply because in addition to counting the=20
swaps there
are some WTORs produced which might not amuse the operators. Don't get
me wrong, we can use this in production systems if the situation
warrants but as a simple matter of gathering information over a period
of time it might be a bit much. It is fine for TEST, QA,=20
Pre-Production,
development systems or whatever your site refers to them as.
=20
""DCMT D SUBT"" will report on the swaps. Here's a sample:
=20
D SUBT
=20
*** Display all subtasks ***
=20
Work Task dispatch
=20
Name Nr type Status count Wakeup count Total
CPU time =20
---- -- ---- ------ ------------- ------------
-------------- =20
MAINTASK 01 IDMS BUSY 1,327 1,228
00:00:01.4315 =20
=20
=20
CHGEMODE table display
=20
Address Program Offset Call cnt TCB->SRB SRB->TCB
=20
-------- -------- -------- ---------- ---------- ----------
=20
3D4B28EA RHDCWAIT 000032EA 1 1 0
=20
3D554058 RHDCTSKI 00000458 22 0 22
=20
3D54C514 RHDCMSTR 00000114 1 1 0
=20
3D52B8F2 RHDCWTL 00001AF2 84 0 84
=20
=
"
IDMS 3rd-party providers forum
IDMSVENDOR-L@LISTSERV.IUASSN.COM
SMTP
IDMSVENDOR-L@LISTSERV.IUASSN.COM
IDMSVENDOR-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: question about numbered user exits
"You get it if you've set the CSATST49 flag on.

Iain Robertson
BT Operate, Senior DBA
Telephone: +44 (0)20 8456 7108
Email: iain.dk.robertson@bt.com

-----Original Message-----
From: IDMS Public Discussion Forum
[mailTo:IDMS-L@LISTSERV.IUASSN.COM] On Behalf Of David E
Matthews (DHL CZ)
Sent: 19 October 2010 09:00
To: IDMS-L@LISTSERV.IUASSN.COM
Subject: Re: [IDMS-L] question about numbered user exits

Well, wait a minute...
What is this chgemode display? How do I get it, please?
dem

-----Original Message-----
From: IDMS Public Discussion Forum [mailTo:IDMS-L@LISTSERV.IUASSN.COM]
On Behalf Of Siraco, John A
Sent: Monday, October 18, 2010 5:16 PM
To: IDMS-L@LISTSERV.IUASSN.COM
Subject: Re: question about numbered user exits

Hi Chris,

You are correct. IDMSCOMP and IDMSCOM are allowed to run in SRB mode.
All others require TCB mode. (It has nothing to do with the name. In
other words, you couldn't name a DB proc IDMSCOMP and have it
run in SRB
mode). The majority of ""overhead"" when using the zIIP option
comes from
swapping back and forth so the less swapping the better.

In my opinion, with respect to the question related to performance. I
would suggest you hard link RHDCUXIT exits with RHDCUXIT as opposed to
defining them as programs and having them called using Standard DC
services. A simple BALR is a lot faster than having the
RHDCCXIT module
issue a #CALL to a program. The call and the code path is a lot longer
than the BALR. In a sense this is a lot like linking ""BIFS"" with ADS.
I've heard of and seen some fairly impressive numbers on this subject.
As far as SRB/TCB/SRB swapping, we will always swap to TCB mode when
calling an RHDCUXIT exit.

If you want to see where swaps are occurring you could specify
""CSATST49"" in your SYSIDMS file. I would only do this on a non
production system simply because in addition to counting the
swaps there
are some WTORs produced which might not amuse the operators. Don't get
me wrong, we can use this in production systems if the situation
warrants but as a simple matter of gathering information over a period
of time it might be a bit much. It is fine for TEST, QA,
Pre-Production,
development systems or whatever your site refers to them as.

""DCMT D SUBT"" will report on the swaps. Here's a sample:

D SUBT

*** Display all subtasks ***

Work Task dispatch

Name Nr type Status count Wakeup count Total
CPU time
---- -- ---- ------ ------------- ------------
--------------
MAINTASK 01 IDMS BUSY 1,327 1,228
00:00:01.4315


CHGEMODE table display

Address Program Offset Call cnt TCB->SRB SRB->TCB

-------- -------- -------- ---------- ---------- ----------

3D4B28EA RHDCWAIT 000032EA 1 1 0

3D554058 RHDCTSKI 00000458 22 0 22

3D54C514 RHDCMSTR 00000114 1 1 0

3D52B8F2 RHDCWTL 00001AF2 84 0 84

"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
how to display a disk journal
"I'm a beginner to IDMS and trying to display disk journal information. Is this the right syntax:

OCF 16.0 IDMS NO ERRORS
DIS DISK JOURNAL IDMSJNR1 as syn;


Michael J. Barta
Mainframe Database  || Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha NE, 68154|| ?: 402.496.8564 ||?: 402.496.8676 ||  : michael.barta@infocrossing.com **Think Green  - Please print responsibly**



????Y
[?
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: how to display a disk journal
"IFRoYW5rcyBhbGwuICBJcyB0aGVyZSBhIHdheSB0byBmaW5kIG91dCB3aGF0IGV4dGVybmFsIGZp
bGUgbmFtZSBpcyBhc3NvY2lhdGVkIHRvIHRoZSBpbnRlcm5hbCBmaWxlIG5hbWU/DQoNCi0tLS0t
T3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBC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GF0aW9ucyB1bmRlciB0aGUgSGVhbHRo
IEluc3VyYW5jZSBQb3J0YWJpbGl0eSAmIEFjY291bnRhYmlsaXR5IEFjdCBhcyBhbWVuZGVkLiAg
SWYgaXQgaXMgbm90IGNsZWFyIHRoYXQgeW91IGFyZSB0aGUgaW50ZW5kZWQgcmVjaXBpZW50LCB5
b3UgYXJlIGhlcmVieSBub3RpZmllZCB0aGF0IHlvdSBoYXZlIHJlY2VpdmVkIHRoaXMgdHJhbnNt
aXR0YWwgaW4gZXJyb3IsIGFuZCBhbnkgcmV2aWV3LCBkaXNzZW1pbmF0aW9uLCBkaXN0cmlidXRp
b24gb3IgY29weWluZyBvZiB0aGlzIGUtbWFpbCwgaW5jbHVkaW5nIGFueSBhdHRhY2htZW50IHRv
IGl0LCBpcyBzdHJpY3RseSBwcm9oaWJpdGVkLiBJZiB5b3UgaGF2ZSByZWNlaXZlZCB0aGlzIGUt
bWFpbCBpbiBlcnJvciwgcGxlYXNlIGltbWVkaWF0ZWx5IHJldHVybiBpdCB0byB0aGUgc2VuZGVy
IGFuZCBkZWxldGUgaXQgZnJvbSB5b3VyIHN5c3RlbS4gVGhhbmsgeW91Lgo=
"
IDMS 3rd-party providers forum
IDMSVENDOR-L@LISTSERV.IUASSN.COM
SMTP
IDMSVENDOR-L@LISTSERV.IUASSN.COM
IDMSVENDOR-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: how to display a disk journal
" Thanks all. Is there a way to find out what external file name is associated to the internal file name?

Outcomes