What code pages are you using and what does ISPF show under option 0? https://www.ibm.com/support/knowledgecenter/en/SSZJDU_6.2.0/com.ibm.itnetviewforzos.doc_6.2/dqd_custocbe_codepage.htm "In codepage 037, the left bracket character [ is X'BA', the right bracket character ] is X'BB'. However, in code pages 1047 and 939, the left bracket character [ is X'AD', the right bracket character ] is X'BD'."
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Spiegel [dspiegel...@hotmail.com] Sent: Friday, May 28, 2021 1:27 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: ISPF Edit Macro Regular Expression Hi, I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular Expression. I'm getting a ISRE997 on this line: "ISREDIT FIND R'ÝABCDEFGHIJKLMNOPQRSTUVWXYZ@#$¨'" 3 7CEDCCCE4CCDC4D7ACCCCCCCCCDDDDDDDDDEEEEEEEE775B774F444 F92954930695409DD12345678912345678923456789CBBDDF03000 I turned HEX ON so that my square brackets can be displayed. (I used x'AD' and x'BD'). I am trying to find the next JCL Statement with a valid label (i.e. an Alphabetic or National Character in Column 3). Ideally I would like to start my search at column 1 and FIND // followed Alphabetic/National in Column 3), Please help. Thanks and regards, David ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN