I also get this strange behavior on my R13 system but not on my R11 system. The 
literal value is not hi-lighted (green) but from the second tick mark on 
(including the comment) it is hi-lighted white. The rest of the code looks 
normal. Very interesting....

Michael Schmutzok
UF & Shands HealthCare

-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]] On 
Behalf Of Robert Ngan
Sent: Wednesday, November 07, 2012 6:03 PM
To: [email protected]
Subject: ISPF EDIT hi-liting of packed literals?

I recently noticed that some assembler comments were being hi-lited strangely 
within the ISPF editor.  I finally realized that this was only on packed 
decimal literals, the high-lighter is treating the closing quote of the packed 
value (without an explicit length) as if it were the opening quote of a 
character literal.  This seems to have started when we upgraded to z/OS 1.13.

Example (non-assembling) code:

TEST2    TITLE 'Test assembler'
TEST2    CSECT
         CLC   CHAR,=C'AA'       Character
         CLC   PACK,=P'10'       Packed <---WRONG!
         CLC   PACK,=PL3'11'     Packed
         CLC   BIN,=F'20'        Fullword
         CLC   BIN,=H'20'        Halfword
         END

The list server won't accept images, so copy the above into an ISPF edit 
session, and switch hi-liting on.

Can someone verify that hi-liting works properly in ISPF edit prior to z/OS
1.13 for me.

Robert Ngan
CSC Financial Services Group

Reply via email to