Re: What is IEANTRTR in Authorized Assembler Services Reference?

2024-04-17 Thread Peter Relson
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 IEANTRTR (or would be if both authorized and 
non-authorized were documented). But neither is really true. It's just that an 
unauthorized IEANTRT would (in practice, not theory) not use one of the other 3 
choices. Those other three options are all "match only if the name/token was 
created by a supervisor state or system key creator". Could an unauthorized 
user go down that route? I suppose. They wouldn't be retrieving information 
that they set.

The authorized IEANTRT allows SRB-mode and allows locks to be held; the 
unauthorized does not allow SRB-mode. It incorrectly talks about locks that 
could be held. It should not.  But realize that these are not enforced 
requirements/restrictions. Unauthorized code cannot be in SRB mode and cannot 
have system locks; authorized code is expected to follow the rules, whether 
they are enforced or not.

Unlike IEANTRT for reasons that I do not recall (but should because I wrote it 
and it was only 10 years ago) but for which I'd hope you'd consider submitting 
"negative feedback" (such as via thumbs down within "was this topic helpful?" 
after which you get to enter your comment), IEANTRTR is documented only in the 
authorized assembler services reference. It should be documented in both, 
appropriately. It's hard to submit feedback for "this book doesn't have this 
chapter", with the current scheme available, so I'd suggest doing it from the 
authorized book's chapter.
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


Re: What is IEANTRTR in Authorized Assembler Services Reference?

2024-04-14 Thread Jon Perryman
On Sun, 14 Apr 2024 00:11:28 +0300, Binyamin Dissen 
 wrote:

>I was looking to see if this was supported in 2.4, but didn't find it

IBM guarantees upward compatibility but not backward. You must always assemble 
your product with your lowest supported libraries (e.g. 2.4 AMACLIB, AMODGEN, 
MACLIB, MODGEN) otherwise the generated code may not be compatible with lower 
releases.

I believe I used name tokens in z/OS 1.8 but your minimum release libraries are 
you guide to which macro's are supported..

>This macro does not need any authorization.

Some macros in the authorized assembler macro book don't require running 
authorized but are affected if you are running authorized. Name tokens is one 
of those. Name tokens are useful in all environments (including unauthorized) 
but when used in an authorized environment, you will want them secured 
otherwise you may have a security exposure.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What is IEANTRTR in Authorized Assembler Services Reference?

2024-04-13 Thread Charles Mills
Do you mean WHY is it in the Authorized manual?

The organization of Assembler Services versus Authorized Assembler Services is 
a mystery to me. Why is SVC 99 documented in the Authorized Services Guide, 
when it requires no authorization (generally).

I find it frustrating. You look up ATTACH in Assembler Services, and then you 
have to go "oh wait, maybe I can do what I want, I need to check Authorized 
Assembler Services."

I think of the division between the two pubs as more "vanilla applications 
stuff" versus "cool systems stuff" rather than as unauthorized versus 
authorized.

Charles

On Sun, 14 Apr 2024 00:11:28 +0300, Binyamin Dissen 
 wrote:

>I was looking to see if this was supported in 2.4, but didn't find it in
>Assembler Services Reference. But it also wasn't in 2.5. Then checked the
>other manual and found it.
>
>This macro does not need any authorization.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


What is IEANTRTR in Authorized Assembler Services Reference?

2024-04-13 Thread Binyamin Dissen
I was looking to see if this was supported in 2.4, but didn't find it in
Assembler Services Reference. But it also wasn't in 2.5. Then checked the
other manual and found it.

This macro does not need any authorization.

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN