View previous topic :: View next topic
|
Author |
Message |
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
But you could find all the fields equal to a given parameter and then deduct that count from the total count. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|