IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Finding a semi colon (;) in ISPF


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 895
Location: The Universe

PostPosted: Thu Aug 26, 2021 7:44 pm
Reply with quote

I recently wanted to find semi colons (;) in ISPF EDIT. I innocently thought

f ';'

would work. ISPF insisted there was an incomplete string in the command. OK, I'll try

f ";"

Same result. After a few minutes of thought I realized ISPF was too stupid to realize that a ; entered in quotes or double quotes was part of a string, not the end of the command. How to get around this problem? Well, finding the hex code for ; should work.

f x'??'

It took a couple of minutes to find the hex code for ; - 5E. I entered

f x'5e'

and sure enough, all the semi colons were high lighted. I found the bad ; and changed it to l, which I originally wanted.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 512
Location: Denmark

PostPosted: Thu Aug 26, 2021 8:36 pm
Reply with quote

Hint for finding a hex code: edit something, insert the character in a line then use the line command HX for that line. Note that HX is a toggle, use it once more and the normal display is back.
Back to top
View user's profile Send private message
sergeyken
Warnings : 2

Senior Member


Joined: 29 Apr 2008
Posts: 1231

PostPosted: Thu Aug 26, 2021 9:38 pm
Reply with quote

One more hint.

When searching a single line, or only a few ones in a huge text, with many occurrences of the character under question, the finding process can be simplified while using X ALL;F ALL X'5E'
Also HIDE X can be used to hide completely all unneeded lines from the screen.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2268
Location: Silicon Valley

PostPosted: Thu Aug 26, 2021 9:48 pm
Reply with quote

I suppose it depends on how often you use the semicolon...

I changed the command delimiter to be '~' so that I could freely use the semicolon in the primary command line. Change it in the ISPF options panel. In the example Sergey gave, I would do: X ALL~F ALL ';' and it would work as expected.

Yeah, I know changing the delimiter is not for everyone.
Back to top
View user's profile Send private message
Joerg.Findeisen

Active Member


Joined: 15 Aug 2015
Posts: 631
Location: Bamberg, Germany

PostPosted: Sun Aug 29, 2021 7:12 pm
Reply with quote

The ISPF variable for the delimiter is ZDEL, just in case somebody want's to have an REXX/CLIST for reading it out.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2815
Location: NYC,USA

PostPosted: Sun Aug 29, 2021 8:55 pm
Reply with quote

Try changing in the settings (start;0) -->Command delimiter to some other value like ‘:’ or ‘@‘ and then find ';' and you will now be able to find it. Once you get done the changes you needed, reset it back to ';'.
www.ibm.com/support/pages/how-can-i-find-semicolon-ispf-edit
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts SAY backslash within ISPF CLIST & REXX 16
No new posts can someone please help me in finding... IBM Tools 9
No new posts ISPF Panel commands DDLIST /LISTBOX TSO/ISPF 11
No new posts Am Getting a vertical line in ISPF SC... TSO/ISPF 3
No new posts ISPF Edit Macro with profile commands... TSO/ISPF 14
Search our Forums:

Back to Top