at was issued by the mainline.
z/OS protects against that, via the linkage stack unstack suppression feature
of the architecture. Specifically, you cannot PR past an RB boundary. The
linkage stack level when an RB is created is saved and is used when setting
things up to enforc
LPA is
built SYS1.LPALIB is placed first regardless of the data set order in LPALSTxx.
HOWEVER, you can use the SYSLIB LPA statement of PROGxx to tell the system to
put the designated library first when building LPA, in which case SYS1.LPALIB
is ordered according to LPAL
lly did think that there is something in the assembler language that lets
you do the 12-bit displacement part and the 8-bit displacement part for a
long-displacement instruction.
Peter Relson
--
For IBM-MAIN subscribe / signof
A slight variant to the calculation:
Given address p, finding the next page-aligned position: PageAlignedP = (p +
4095) & (-4096)
Peter Relson (ex) z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / arc
ng, you should not expect correct behavior. That
functionality is provided for test environments. And I would not expect IBM
service to be willing to do much about that unless you can demonstrate that the
undesired behavior occurs without that having been done.
Peter Relson(ex) z/
anged
the implementation to have the ICH408I message too. That was much easier than
changing my "nice message".
Thus you could say that there is precedence to making the sort of change you
might request.
Peter Relson(ex) z/OS Co
that is a good candidate for a requirement/request/idea.
Peter Relson(ex) z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Please avoid using a slot that had previously been used by someone else, even
if they no longer use it.Instead, have the slot owner contact IBM (Steve Soong
or Nick Jones) to inform as of when they no longer use it, in which case the
slot could be considered for re-assignment (although in practi
ome such)
you might be able to "restore" that volume.
Peter Relson
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
I located the duct at first via STCBDUCV and when that didn’t work I tried
control register 2
You have failed to address the question(s).
Regarding "STCBDUCV and when that didn't work":
- Maybe you thought you were using STCBDUCV but weren't.- Maybe you were using
STCBDUCV but based on PSATOLD but
Did the OP ever determine/explain why he got PIC 4 while in key 0? The only
architectural case that comes to mind of this happening is if the store is into
DAT-protected storage (think PGSER PROTECT, such as for the read-only nucleus
or for PLPA). And that likely means that the wrong address was
Hi, IBM-Mainers.
I am retired as of January 1.
I'll likely lurk and occasionally chime in, but I won't have access to a system
or source to check things out, so any contributions will be limited by whatever
I remember.
I trust that other IBMers will continue to help.
Peter Relsonz/OS Core Technol
Don't forget about the possibility of using IPCS Active to run IPCS against the
live system.
There are a lot of control block formatters and find routines provided by z/OS.
Peter Relson
z/OS Core Technology Design
--
Fo
Binyamin D wrote
SYS1.MACLIB(HWTHKASM) is a macro with equates.
At the end it has
DS CL12 RESERVED
wonder what it is reserved for
IMO, it's a bug. I'll bring it to the attention of the owner
Peter Relson
z/OS Core Technol
IBM. And not limited to "messages".
The message types for console messages are very well documented; it's
unfortunate that the conventions for applications are different (so we have "W"
for wait state on one side, "W
GID parameter of the SLIP command which includes the
documentation
"The input MSGID can be a maximum of 10 characters".
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access ins
id provide the necessary clue.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
with
regard to unauthorized code running within the owning address space.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu wit
Sorry, should have been sent to assembler list
Peter
From: Peter Relson
Sent: Monday, December 9, 2024 9:22 AM
To: ibm-m...@bama.ua.edu
Subject: RES: RES: SETLOCK OBTAIN CML/CMS
I'm just adding an STAE recovery rtn in case of an abend leave the word busy
If you have a "word&qu
lder" might
be lower priority than the "requestor").
The approach mentioned by Jonathan Scott is one that is used in many cases
within z/OS.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe /
to another address space
that POST can be considered to do would have been a security violation.
Nowadays a POST like that is simply unacceptable. It was not allowed then, it
is not allowed now.
Peter Relson
z/OS Core Technology Design
ange and that file is now
CAPS OFF (and won't automatically change to CAPS ON).
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
abend when no storage is available has existed "forever".
An authorized product could conceivably (if incorrectly) do this.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access in
g for a way to allow writing into common storage
AUTHORIZED MODULES by an unauthorized (e.g., key 8 problem state) program.
Such functionality, wisely, is not available.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN
module, a sub-code of x'14' is
provided. The sub-code happens to be in register 4 (although the text only
describes the code without saying where to find it; I will get that corrected).
I surely hope that Db2 isn't creating a S806 abend on its own.
Peter Relson
z/OS Core Te
atch as
appropriate.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
the unpredictably dangerous LNKLST UPDATE operation (which generally should
only be used only if you can afford for your system to crash, perhaps if the
alternative to using it is to re-IPL immediately anyway).
Peter Relson
z/OS Core Technology D
might not be) is treated as the address of the DCB for the
LNKLST set associated with this address space.
DLCBDCB@ within the DLCB located by ECVTDLCB contains the address of the DCB
for the current LNKLST set.
These are all considered to be programming interfaces.
Peter Relson
z/OS Core
be done by any program other than the OS
itself for extremely specific circumstances. So IBM must say "no" to the
question asked.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff
Didn't your z/OS 3.1 order come with an IFAPRDxx that was properly defined (at
least for the things known to the ordering system)?
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive a
tegrity experts have never seen anything
properly do so other than TSO/E.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with th
Lennie B wrote
If a system service is using the __console() service or the __console2()
service it will need access to BPX.CONSOLE in the FACILITY class. Are the
commands issued via these services also subject to checks in the OPERCMDS class?
Yes.
Peter Relson
z/OS Core Technology Design
integrity problem.
It really needs to be set at the beginning of the step (as the ATTACH of the
job step program accomplishes). It can be turned off. It should, in general,
not be turned back on.
Peter Relson
z/OS Core Technol
IEFJSRE1 and that none of the error registers
have any relationship to the address range of load module IEFJSRE1, one might
suspect that you should look to any code that you own that gets control and
might have not properly restored registers and branched incorrectly.
Peter Relson
z/OS Core
k-post protocol of setting the POST bit on outside of the POST service
requires use of CS and requires that the ECB not already be waiting.
There is no way of telling after the fact from seeing an ECB with x'40' in the
high byte how it got that way. A SLIP storage alteration trap on th
Your valid choices for putting a module in storage after IPL (before IPL you
could just put it into LPA)
Oops. I suspect that all you readers realized that I had unintentionally
omitted "common" before "storage".
Peter Relson
z/OS Co
o LPA) are:
Dynamic LPA
Load with ADDR
In neither case would it be OK ever to free the module storage. Dynamic LPA is
preferred because it helps with diagnosis (since the system has associated a
module name with that storage).
Peter Relson
z/OS Core Technol
e index had the expected
hits.
Adam J's response describes just what the OP did wrong.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@list
4 K-byte boundary.
When the ETF2-enhancement facility is installed,
the translation table is treated as being on a doubleword
boundary.
ETF2 has been part of the architecture levelset for z/OS since z/OS 2.1.
Peter Relson
z/OS Core Technolog
Tony H wrote:
everything wrapped into one instruction, i.e. strncpy().
I'd hardly call strncpy "one instruction", rather one function / one "line of
code". It probably is implemented using some of the instructions that you're
thinking of.
Peter Rels
in that
path might take comparable cycles to the PC.
I'd not be surprised if PC-entry is faster than SVC-entry for obtaining common
storage if there is any likelihood of LOCAL lock contention. PC-entry would not
try to get the LOCAL lock; SVC-entry is a type 1 SVC and always gets (and hold
data addressability, literals
become reasonable. Unconditionally introducing literals could be incompatible.
Specification of SYSSTATE with ARCHLVL > 0 effectively identifies that you are
OK with literals.
Peter Relson
z/OS
h, as it should probably never be used any longer.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
odule, LINK processing sets things up so that the target module gets
control, whether it is assembler, C, PL/I, COBOL, you name it.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive
dress space
via the LDAX (mapped by IHALDAX).
It of course matters whether you are running out of region storage vs system
private, running out of below-16M vs above-16M.
Peter Relson
z/OS Core Technology Design
--
For IBM
other elements as
well) is "like this one" in that regard. In fact, for some, the book is
produced using the same "source" that the macro is generated from.
Peter Relson
z/OS Core Technology Design
--
For IBM
suitably authorized) may easily run aground due
to the fact that the data you are looking at is not necessarily in synch
(because the data can be changing as it is retrieved).
Peter Relson
z/OS Core Technology Design
--
For IBM
-AL
or PASN-AL.
For correctness, the target address space is required to be non-swappable. You
might get away with its being swappable but cannot in general count on it.
Peter Relson
z/OS Core Technology Design
--
For IBM
It seems to me that the assembler did exactly what you'd hope it to do:
Warn you about the label in an inappropriate place and then treat it as a
statement label, as if you had coded
DROP R11
DROPR11 DS0H
or
DROPR11 DS0H
DROP R11
Peter Relson
z/OS CoreTechn
sue an SVC and it will make its way to the SVC target routine, otherwise
you can't (the abend SVC can be considered an exception).
The environments for issuing any service should be clearly documented as part
of the documentation for that service.
Peter Relson
z/OS Core Te
SM 14,15
Or you could have done something like
LGR 15,0
NILL 15,x'FFFE'
SAM64
BASR 14,15
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
orage.
Regarding the client's having an ALET to access storage in the server address
space: that is certainly possible. I don't know how "common" that is. You could
be right that it is "quite often".
Peter
the address, such as
ECB=ADDRESS_OF_MYECB, you'll get the address of ADDRESS_OF_MYECB. Things won't
go well.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
invocation within a macro so in the absence of PRINT MCALL doesn't get shown in
the listing.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
erly got 378-1C.
That input matches the explanation for 378-1C.
I hope there is no use of LE and C writeable static in this address space. That
uses subpool 1 and it would be unlikely to be a good idea to free the whole
subpool in such a case.
Peter Relson
z/OS Core Te
EL,OSREL=SYSSTATE
USING @DATA,12
CSVAPF REQUEST=LIST,ANSAREA=(2),ANSLEN=(3)
CSVAPF REQUEST=LIST,ANSAREA=AA,ANSLEN=AL
@DATADS0D
AA DSD
AL DSF
END
Assemble this and look through the expansions for things like LAE and STAM.
Peter Relson
z
e. But maybe you have a better goal in
mind.
For almost all services the rule is that an input AR (or input ALET) is ignored
if the caller is not AR mode. There are exceptions.
Peter Relson
z/OS Core Technology Design
--
For I
The obvious first thought is "the hardware name is not DR" on the system where
the definition is not working.
Look at ECVTHDNM and see what it says (among many choices, you could write a
tiny program, use REXX, use TSO TEST, use IPCS ACTIVE, use IPCS upon an SVC
Dump)
Peter Relson
obal macro variable that you set once for the whole module (perhaps via
SYSSTATE), as opposed to via a macro keyword specified on each individual macro.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / arch
that expansion on older releases (perhaps limited to those older
releases that are still supported). Now that only z/OS 2.4 and up are supported
(other than extended support), there are opportunities to use some instructions
that were not previously OK to use.
Peter Relson
z/OS Core Technology Des
us" is uninteresting without Rent since it is just another case of "not
reentrant". And Reus with Rent is the same as Rent to z/OS.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe
is fine.
If you need access to storage containing the parameter/data that was passed to
the syscall, that data won't be in this dump unless the program happens to wait
after the call.
Peter Relson
z/OS Core Technology D
s once per task in
a multi-tasking application). Also, be sure in a non-reentrant module to
separate your "data" from your "code" (separate cache lines) to avoid
significant degradation due to "store into instruction stream" effects.
Is user key CSA still available?
to
make sure to include secondary and/or home address spaces in the dump.
I don't know if that helps you or not.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send ema
A expression, but not with it, then you'll
need to figure out what's wrong with that expression.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to li
Gil wrote
The PDF was in two-up format
and I failed to read the second column.
Just curious: which book was that? I know that PoP is, but I didn't realize
there were others.
Peter Relson
z/OS Core Technology Design
-
her to go with "thumbs up" or "thumbs down"
but I suspect I know what most will choose.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to
sterisk so that all they have to check are the "n"
characters preceding the asterisk in the pattern).
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
For a given ASID, look at OUCB +B0. JES2, STC or TSO should appear.
That is field OUCBSUBN which is not a programming interface. Its commentary
leads me to think that there are additional possible values.
Peter Relson
z/OS Core Technology Design
able), since you can serialize against that
storage being freed by having the CPU lock, then verifying that the ASCB is
valid via LOCASCSB, and checking that ASCBFAIL is not on. If all is fine, then
the ASCB/ASSB cannot be freed until you release the CPU lock.
Peter Rels
uld pay
attention to IRRPRMxx. Started tasks that pay attention to a parmlib generally
have a parameter by which you identify the parmlib member to pay attention to
upon the start.
Peter Relson
z/OS Core Technology Desig
--
r by IEFPRMLB, for example, will let you ask to blank
out column 72 to avoid confusing subsequent parsing.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send em
An alternative (no comment on relative performance) for this case since you
know the intended data is:
SPKA user-key
MVI first-byte
MVC overlapping
SPKA your-key
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN
look at the result such as by DISPLAY PROG,LPA,MOD=xxx?
At least with that you can get an idea of what your expectations should be.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access ins
lable one)
Then there is dynamic dump allocation which, apparently, is not active.
This relates to DUMPDS (DD) command options such as DD ALLOC and DD ADD. And
you can define the naming pattern for the dump data set.
Peter Relson
z/
z-Architecture, locations 0-7 were the restart old PSW, generally 0's
until a restart had been done (if ever).
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
MMA resolved to a displacement with no base register
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
The references to TS7700 Statistical Data Format appear to be to SMF 94.
The query was SMF 194 which, I believe, is not owned by IBM.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access
t TSO is to consider
as an authorized command. PARMLIB is documented as an authorized command (but I
don't know if that is "built-in" or needs to be specified).
Peter Relson
z/OS Core Technology Design
--
For IBM
data store".
Can you clarify?
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Mike Schwab wrote
Most exits are assembler, right?
Most system exits, surely. Metal C (or anything that does not need an
environment such as C and REXX do) is another choice typically.
Bob Bridges wrote:
Although I gather z/OS now allows them to be in REXX.
Certainly not in general. Most sy
de effects within the current
IPL,
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
The PER SLIP matches only a non-zero register with zeros in it like this:
L Rx,PSAAOLD(0,4) <-- SLIP will match if R4 contains zeros
And, also, will match for this if R4 contains zeros:
L Rx,PSAAOLD(4,0)
Peter Relson
z/OS Core Technology Des
ue and see what you get.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
uot; (especially when the possible values are not knowable to a parser)
to be an "INVALID KEYWORD" (as opposed to if the user had coded PLANN(DSNTEP1)
it might have complained that PLANN was an invalid keyword.
Peter
han
"careless"). Thank you for submitting feedback to get that corrected.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
text as the basis for a display.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
iated with that RB.
Of at least as much importance: Show the data. Including the 8-byte
translation exception address.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
that routine as REFReshable and
put it in SYS1.LINKLIB.
This behavior, when marking the module as refreshable, applies only when the
REFRPROT option of PROGxx is active.
That applies system-wide. As long as that is OK, and you have control of
setting REFRPROT, have at it.
Peter Relson
z/OS
for placing a reentrant program into key 0
non-fetch-protected storage depend on authorization and various system-wide
options, along with the possibility of doing an ATTACHX with the KEY=NINE
parameter (which will place into key 0 storage without relying on
authorization).
Peter Relson
z/OS
so can get away with using the 4-byte name.
These days, the L/N/SRL has many better alternatives, such as
LLC (of the 2nd byte of RBOPSW) / NILL (to clear the low 4 bits if for some
reason you need to do so).
Peter Relson
z/OS Core Technology Design
-
e a dataset is being opened. And as you showed you
have TAPEAUTHDSN=YES.
I have no idea if temporary data sets "count" when OPEN is processing, but it
wouldn't shock me.
Peter Relson
z/OS Core Technology Design
for
the caller's regs (for which the answer is different than the psw/key, but
similarly depends on the type of the SVC.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
to what we refer to as low-core protect).
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
u'd have to check for SDWAPRIM =
current primary ASID (such as by using EPAR to extract the current primary ASN).
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send ema
, serialization may be required when
accessing something other than your address space's data.
Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to
important to identify to which RB you refer.
Peter Relson
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
IEANTRTR, exactly like IEANTRT, has authorization-related "limitations" and
authorization-related opportunities.
If you look closely, the non-authorized IEANTRT shows that the level parameter
has 4 choices. The authorized IEANTRT shows that the level parameter has 7
choices. The same is true for
You can cancel an STIMER via TTIMER CANCEL.
Peter Relsonz/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
y
do not need to build/touch IQE/IRB. The parameters on SCHEDIRB (such as EPPTR,
MODE, KEY et al) generally cover all the pieces of data that you would set in
the IRB. They do cover all that you showed in your code example. It is
documented that SCHEDIRB is sugg
1 - 100 of 1050 matches
Mail list logo