Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

NOT functionaity in Find

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 190
Location: hyderabad

PostPosted: Mon Apr 13, 2009 8:00 am    Post subject: NOT functionaity in Find
Reply with quote

Hi all,

I am in need of help on TSO Find, plz find the details

I there are way to check whether a particular position is not equal to spaces.

get the count of records having other than 'A' at position 10

Find not 'A' 10

is there any equivalent of this

Thanks
Prasad
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Apr 13, 2009 10:44 am    Post subject:
Reply with quote

Assuming you are asking about ISPF Editor FIND command (and not TSO).

You can use the picture flavour of FIND, for example "FIND P'¬'" to find any character that is not a blank.

As far as I know, there is no way to find a string that is "not a specific character".

O.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Apr 13, 2009 1:38 pm    Post subject:
Reply with quote

But you could find all the fields equal to a given parameter and then deduct that count from the total count.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Apr 13, 2009 3:57 pm    Post subject:
Reply with quote

you could use exclude, as in <x all 'a' 10>
then <find all p'=' 10 nx> which would be the number of lines not having 'A' in 10. (count of not excluded lines)
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7935
Location: Bellevue, IA

PostPosted: Mon Apr 13, 2009 5:01 pm    Post subject:
Reply with quote

In ISPF edit, exclude all lines, find all lines with the character you want, then FLIP. The displayed lines are the ones that do not have the character.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts how to find clist's or view library Andrew Hsia CLIST & REXX 4 Tue Jun 28, 2016 6:07 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us