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
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
confusing RMODE/AMODE assembler instructions with the SAMxx machine
instructions?
Tony
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
I meant "receive the error msg that follows":
ASMA186E AMODE/RMODE already set for this ESD item
I know what RMODE does do.
But I have a program that can or not call TPUT.
If it calls, so I'd like to set RMODE 24, otherwise 31.
But 31 was already set in the beginning of the CSECT.
It could simply
Something interesting/confusing I noticed today.
The HLASM Language Reference documents the continuation column as 16.
For an instruction this works:
L R10,4(,R1)comment x
<'x' in column 72>
continued here
For a macro:
SAVE
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
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
Jon,
Oh, my... I got this way wrong. Thank you so much for the explanation.
David
On Fri, 1 Dec 2023 13:39:59 -0500, David Eisenberg
wrote:
>No... MYINNER is inline within MYMAC. It's not a COPY.
Inline macros and copybooks are source code (not generated) and like source
code, they are printed as is. PRINT NOPRINT suppresses source code printing.
PRINT NOGEN is for each
>The first obvious question is have you reviewed the print statements.<
I did... the program begins with a PRINT NOGEN, and there are no PRINT GEN
statements in the code that I can see.
>The second obvious question is if MYINNER is a copy instead of macro
>expansion?<
No... MYINNER is inline
If NOLIBMAC is in effect then a) like Jon, I wonder if the macro was copied,
and b) like Seymour, I think the listing would be helpful, as well as the
source code that invokes the macro.
Note that LIBMAC|NOLIBMAC can also be set by ACONTROL, so you might want to
make a quick check for that.
-
I see the same behavior with option NOLIBMAC.
From the manual:
NOGEN Instructs the assembler not to print statements generated by
conditional assembly or the processing of a macro
So I guess it makes sense that source of the inline macros, but not the code
generated, is listed,
Does your assembly have the LIBMAC option in effect? Look at the first page or
two to see the list of options in effect. If it is in effect, though, you
should see the same behavior for all other library macros as well (if any). Is
this the case?
- mb
> -Original Message-
> From:
On Fri, 1 Dec 2023 12:03:08 -0500, David Eisenberg
wrote:
>But immediately after the call to MYMAC in the listing, the entire macro
>source of MYINNER
> (including the macro comments beginning with dot-asterisk) are printed in the
> listing.
The first obvious question is have you reviewed
Please past a few lines from the listing starting with the invocation of MYMAC.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר
From: IBM Mainframe Assembler List on behalf
of David
Hi... I hope someone can help me... I'm seeing some behavior that I'm not
understanding.
I've written a macro (let's call it MYMAC) that contains an inner macro (let's
call it MYINNER). I have a PRINT NOGEN at the start of my program. There is one
invocation in my program of MYMAC. In the
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
17 matches
Mail list logo