View previous topic :: View next topic
|
Author |
Message |
rajjesht Warnings : 1 New User
Joined: 03 Aug 2005 Posts: 20
|
|
|
|
HI
I want to check the number of occurences of a field eg(EMP-ID) in a program from ISPF. If i use SEARCH FOR option how will i get the results after searching i.e (it gives only the number of occurences or it will give number of occurences with line numbers . I will be thanfull if anyone clear my query . |
|
Back to top |
|
|
Gautam512
Active User
Joined: 05 Oct 2005 Posts: 308 Location: Vizag / US
|
|
|
|
Hi Rajesh,
1) Type on the command line
then press f1.
U'll get the number of occurences on the right hand top corner.
2) Type on the command line
Code: |
x all;f all "EMP-ID" |
See the result , all the occurences are displayed.
Thanks,
Gau |
|
Back to top |
|
|
rajjesht Warnings : 1 New User
Joined: 03 Aug 2005 Posts: 20
|
|
|
|
Hi Gautam thankyou for your kind reply |
|
Back to top |
|
|
saithvis2
New User
Joined: 23 Dec 2005 Posts: 61 Location: Providence , US
|
|
|
|
HI ,
you can also use ONLY "emp-id" at the command line ;it will also show all the occurances of that employee id .
regards
Vishal |
|
Back to top |
|
|
Gautam512
Active User
Joined: 05 Oct 2005 Posts: 308 Location: Vizag / US
|
|
|
|
A small add on to it.
The searching word can be mixed with some other characters as well.
Take for example the word emp-id it can be used in different ways.
struc_emp-id.
If u want to specifically search the word then code
on the command line.
It shows only the occurences of EMP-ID |
|
Back to top |
|
|
|