Works fine under z/OS 1.12 here.  Only the quoted literals from quote to quote 
on all lines are highlighted.  The comments on all lines are in light blue, the 
quoted literals are white.

****** ********************************* Top of Data 
**********************************
=PROF> ....ASRC (FIXED - 80)....RECOVERY OFF....NUMBER 
OFF.............................
=PROF> ....CAPS OFF....HEX OFF....NULLS ON STD....TABS OFF....SETUNDO 
STG..............
=PROF> ....AUTOSAVE ON....AUTONUM OFF....AUTOLIST OFF....STATS 
ON......................
=PROF> ....PROFILE UNLOCK....IMACRO NONE....PACK OFF....NOTE 
ON........................
=PROF> ....HILITE ASM CURSOR 
FIND......................................................
000001 TEST2    TITLE 'Test assembler'
000002 TEST2    CSECT
000003          CLC   CHAR,=C'AA'       Character
000004          CLC   PACK,=P'10'       Packed <---WRONG! Works right in 1.12
000005          CLC   PACK,=PL3'11'     Packed
000006          CLC   BIN,=F'20'        Fullword
000007          CLC   BIN,=H'20'        Halfword
000008          END
****** ******************************** Bottom of Data 
********************************

-----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
--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

Reply via email to