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: 917
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: 712
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

Senior Member


Joined: 29 Apr 2008
Posts: 2023
Location: USA

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

Senior Member


Joined: 15 Aug 2015
Posts: 1255
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: 3053
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 Finding and researching jobs All Other Mainframe Topics 0
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top