If I assemble this (no variables at all):

FQMTEST  RSECT
         DC    CL8''
         DC    CL8' '
         END

I get this result:

                                                                                
                               Page    3
  Active Usings: None
R-Loc  Object Code    Addr1 Addr2  Stmt   Source Statement                      
            HLASM R6.0  2020/04/20 09.31
000000                00000 00010     1 FQMTEST  RSECT
000000 0A00000040404040               2          DC    CL8''
000008 4040404040404040               3          DC    CL8' '
                                      4          END

There are no variables in the source at all.

-----Original Message-----
From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> On Behalf 
Of mikael.nyst...@seb.se
Sent: maandag 20 april 2020 9:22
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: CL8''

There is nothing wrong with CL8''.
I guess &RQS has a value.

//Mikael

-----Original Message-----
From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> On Behalf 
Of Windt, W.K.F. van der (Fred)
Sent: den 20 april 2020 08:24
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: CL8''

Hi,

Does anybody know why this happens:

  Active Usings: None
R-Loc  Object Code    Addr1 Addr2  Stmt   Source Statement                      
            HLASM R6.0  2020/04/20 08.13
000000 0A00000040404040            1938          DC    CL8''
000008 4040404040404040            1939          DC    CL8' '

I expected CL8'' to generate 8 spaces as well but it always seems to generate 
X'0A000000404040'.  The source code is

DC    CL8'&RQS'

The &RQS is an optional parameter for the macro that wants to generate an 
8-byte name (or spaces if the parameter is omitted). What's wrong with CL8''?

Fred!

-----------------------------------------------------------------
ATTENTION:
The information in this e-mail is confidential and only meant for the intended 
recipient. If you are not the intended recipient, don't use or disclose it in 
any way. Please let the sender know and delete the message immediately.
-----------------------------------------------------------------
-----------------------------------------------------------------
ATTENTION:
The information in this e-mail is confidential and only meant for the intended 
recipient. If you are not the intended recipient, don't use or disclose it in 
any way. Please let the sender know and delete the message immediately.
-----------------------------------------------------------------

Reply via email to