Re: Reseting RMODE

2023-12-05 Thread Peter Relson
I cannot imagine anyone being willing to implement an "RMODE MIN" whose only purpose is to allow you to specify an RMODE statement multiple times in one CSECT with different values. Functionally, at the cost of 8 bytes (and it conceivably can be accomplished with 0, but I have not tried),

RES: Reseting RMODE

2023-12-04 Thread João Reginato
That's it Thank you all -Mensagem original- De: IBM Mainframe Assembler List Em nome de Gary Weinhold Enviada em: segunda-feira, 4 de dezembro de 2023 13:59 Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU Assunto: Re: Reseting RMODE I think I understand: you wish the last RMODE in a CSECT

RES: Reseting RMODE

2023-12-04 Thread João Reginato
Yes, that's it -Mensagem original- De: IBM Mainframe Assembler List Em nome de Gary Weinhold Enviada em: segunda-feira, 4 de dezembro de 2023 13:59 Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU Assunto: Re: Reseting RMODE I think I understand: you wish the last RMODE in a CSECT to override all

Re: Reseting RMODE

2023-12-04 Thread Gary Weinhold
LIST@LISTSERV.UGA.EDU Subject: Re: Reseting RMODE is there an RFE for an RMODE(MIN) option to accept multiple RMODE statements and use the most restrictive? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁק

Re: Reseting RMODE

2023-12-04 Thread Seymour J Metz
on behalf of Paul Gilmartin <0014e0e4a59b-dmarc-requ...@listserv.uga.edu> Sent: Monday, December 4, 2023 10:48 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Reseting RMODE (Don't be greedy; don't set personal "Reply-to:") On 12/4/23 07:28:51, João Reginato wrote: >

ENC: RES: RES: Reseting RMODE

2023-12-04 Thread João Reginato
END GOT IT? -Mensagem original- De: Tom Harper Enviada em: segunda-feira, 4 de dezembro de 2023 12:12 Para: jb.regin...@gmail.com Cc: ASSEMBLER-LIST@listserv.uga.edu Assunto: Re: RES: RES: Reseting RMODE I think it does solve your problem. What doesn’t it solve? Sent from my iPhone

RES: Reseting RMODE

2023-12-04 Thread João Reginato
Yes that solves it. Thank you -Mensagem original- De: IBM Mainframe Assembler List Em nome de Paul Gilmartin Enviada em: segunda-feira, 4 de dezembro de 2023 12:48 Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU Assunto: Re: Reseting RMODE (Don't be greedy; don't set personal "

Re: Reseting RMODE

2023-12-04 Thread Tony Harminc
On Mon, 4 Dec 2023 at 09:29, João Reginato wrote: > As I've said before, I wasn't clear enough here. > My intent is to change the RMODE during the compilation phase only. > I have all CSECTS with RMODE ANY so, one of them, need to be RMODE 24, and > I > cannot change it because the HLASM doesn't

Re: Reseting RMODE

2023-12-04 Thread Paul Gilmartin
(Don't be greedy; don't set personal "Reply-to:") On 12/4/23 07:28:51, João Reginato wrote: As I've said before, I wasn't clear enough here. My intent is to change the RMODE during the compilation phase only. I have all CSECTS with RMODE ANY so, one of them, need to be RMODE 24, and I cannot

Re: RES: RES: Reseting RMODE

2023-12-04 Thread Tom Harper
ezembro de 2023 11:49 > Para: jb.regin...@gmail.com > Cc: ASSEMBLER-LIST@listserv.uga.edu > Assunto: Re: RES: Reseting RMODE > > João, > > What has been hinted at here is that all you need to do is to have two > CSECTs, one which is RMODE(ANY) and a second one which is

RES: RES: Reseting RMODE

2023-12-04 Thread João Reginato
Yes, I know that but it doesn't solve my problem -Mensagem original- De: Tom Harper Enviada em: segunda-feira, 4 de dezembro de 2023 11:49 Para: jb.regin...@gmail.com Cc: ASSEMBLER-LIST@listserv.uga.edu Assunto: Re: RES: Reseting RMODE João, What has been hinted at here is that all

Re: RES: Reseting RMODE

2023-12-04 Thread Tom Harper
on > Enviada em: domingo, 3 de dezembro de 2023 14:39 > Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Assunto: Re: Reseting RMODE > > The starting point regarding using a DCB (that does need to be below 16M) is > that use of non-reentrant code is discouraged (if for potential performa

RES: Reseting RMODE

2023-12-04 Thread João Reginato
my csects, issuing the message reported before. João -Mensagem original- De: IBM Mainframe Assembler List Em nome de Peter Relson Enviada em: domingo, 3 de dezembro de 2023 14:39 Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU Assunto: Re: Reseting RMODE The starting point regarding using a DCB

Re: Reseting RMODE

2023-12-03 Thread Peter Relson
The starting point regarding using a DCB (that does need to be below 16M) is that use of non-reentrant code is discouraged (if for potential performance issues if nothing else, if you have not well-separated the instruction and static data from dynamic data). Any reentrant module will

RES: RES: Reseting RMODE

2023-12-02 Thread João Reginato
at section in the object output, before passing it to the binder. Anyway, thank you all for the answers. Regards João -Mensagem original- De: IBM Mainframe Assembler List Em nome de Tony Harminc Enviada em: sábado, 2 de dezembro de 2023 15:49 Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU Assunto: Re: RES

Re: RES: Reseting RMODE

2023-12-02 Thread Seymour J Metz
From: IBM Mainframe Assembler List on behalf of Tony Harminc Sent: Saturday, December 2, 2023 1:49 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: RES: Reseting RMODE On Sat, 2 Dec 2023 at 13:13, João Reginato wrote: > Sorry guys > my poor e

Re: RES: Reseting RMODE

2023-12-02 Thread Tony Harminc
On Sat, 2 Dec 2023 at 13:13, João Reginato wrote: > Sorry guys > my poor english may be causing misunderstanding. > Perhaps, but it's a lot better than my Portuguese. I think we can understand it pretty well. :-) > You're right, TPUT doesn't use DCB and doesn't need RMODE 24 neither. > I

RES: RES: Reseting RMODE

2023-12-02 Thread João Reginato
iada em: sábado, 2 de dezembro de 2023 12:00 Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU Assunto: Re: RES: Reseting RMODE This conversation is making less and less sense. Since when does TPUT use a DCB? On the original question: RMODE sets a flag on the module that ultimately tells program fetch to lo

Re: Reseting RMODE

2023-12-02 Thread Ed Jaffe
On 12/2/2023 7:19 AM, Peter Relson wrote: In the RMODE=SPLIT case you can end up with one part of the executable in one RMODE and the other part in another RMODE and V-Con's between the two parts are resolved at module fetch time. Which is BTW ultra-cool functionality! (Too bad they don't

Reseting RMODE

2023-12-02 Thread Peter Relson
It sounds like the OP might not fully understand RMODE. RMODE is a directive to the binder and loader of where in storage to place a module. As was mentioned, the granularity is on a section basis, and the directive is applied at module fetch time when store is acquired into which to place the

Re: RES: Reseting RMODE

2023-12-02 Thread Steve Smith
This conversation is making less and less sense. Since when does TPUT use a DCB? On the original question: RMODE sets a flag on the module that ultimately tells program fetch to load your program above or below the line (or bar, these days). Once loaded, what do you expect to happen on an RMODE

RES: Reseting RMODE

2023-12-02 Thread João Reginato
Ok but it could be changed. Why not? -Mensagem original- De: IBM Mainframe Assembler List Em nome de Ed Jaffe Enviada em: sexta-feira, 1 de dezembro de 2023 17:01 Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU Assunto: Re: Reseting RMODE On 12/1/2023 11:27 AM, Jon Perryman wrote: > On Fri

RES: Reseting RMODE

2023-12-02 Thread João Reginato
de 2023 19:42 Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU Assunto: Re: Reseting RMODE On Fri, 1 Dec 2023 at 16:07, João Reginato wrote: > Depending on the situation, yes, it does make sense during a compilation > phase > I don't think it does. Could you give a code example? Are you possibly

RES: RES: Reseting RMODE

2023-12-02 Thread João Reginato
that need to change it. I'll read more about RMODE(SPLIT). thanks -Mensagem original- De: IBM Mainframe Assembler List Em nome de Ed Jaffe Enviada em: sexta-feira, 1 de dezembro de 2023 19:57 Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU Assunto: Re: RES: Reseting RMODE On 12/1/2023 1:06 PM, João

Re: RES: Reseting RMODE

2023-12-01 Thread Ed Jaffe
On 12/1/2023 1:06 PM, João Reginato wrote: But I have a program that can or not call TPUT. If it calls, so I'd like to set RMODE 24, otherwise 31. We issue TPUT all over the place in 31-bit mode (AMODE/RMODE). If I did have a function that required RMODE(24), I would not force an entire

Re: Reseting RMODE

2023-12-01 Thread Tony Harminc
? Tony H. -Mensagem original- > De: IBM Mainframe Assembler List Em > nome de Ed Jaffe > Enviada em: sexta-feira, 1 de dezembro de 2023 17:01 > Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Assunto: Re: Reseting RMODE > > On 12/1/2023 11:27 AM, Jon Perryman wrote: > &g

RES: Reseting RMODE

2023-12-01 Thread João Reginato
Depending on the situation, yes, it does make sense during a compilation phase -Mensagem original- De: IBM Mainframe Assembler List Em nome de Ed Jaffe Enviada em: sexta-feira, 1 de dezembro de 2023 17:01 Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU Assunto: Re: Reseting RMODE On 12/1/2023 11

RES: Reseting RMODE

2023-12-01 Thread João Reginato
uld simply cancel the previous RMODE and set the new one. Just a suggestion. Have a nice weekend -Mensagem original- De: IBM Mainframe Assembler List Em nome de Jon Perryman Enviada em: sexta-feira, 1 de dezembro de 2023 16:27 Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU Assunto: Re: Rese

Re: Reseting RMODE

2023-12-01 Thread Ed Jaffe
On 12/1/2023 11:27 AM, Jon Perryman wrote: On Fri, 1 Dec 2023 11:06:16 -0300, João Reginato wrote: How can I reset RMODE without receive ASMA186E AMODE/RMODE already set for this ESD item Once set, such attributes cannot be changed. It makes no sense to change them. -- Phoenix Software

Re: Reseting RMODE

2023-12-01 Thread Jon Perryman
On Fri, 1 Dec 2023 11:06:16 -0300, João Reginato wrote: >How can I reset RMODE without receive >ASMA186E AMODE/RMODE already set for this ESD item What do you mean by "receive"? RMODE is not a machine instruction (e.g. MVC). Instead, the linkage editor verifies where you want this CSECT to

Reseting RMODE

2023-12-01 Thread João Reginato
Hi How can I reset RMODE without receive ASMA186E AMODE/RMODE already set for this ESD item Why cannot I do it? TIA João