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

Want to know about SEARCH FOR option in ispf ?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rajjesht
Warnings : 1

New User


Joined: 03 Aug 2005
Posts: 20

PostPosted: Sat Dec 31, 2005 1:03 pm
Reply with quote

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
View user's profile Send private message
Gautam512

Active User


Joined: 05 Oct 2005
Posts: 308
Location: Vizag / US

PostPosted: Wed Jan 04, 2006 12:01 pm
Reply with quote

Hi Rajesh,

1) Type on the command line
Code:
f all "EMP-ID"
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
View user's profile Send private message
rajjesht
Warnings : 1

New User


Joined: 03 Aug 2005
Posts: 20

PostPosted: Wed Jan 04, 2006 5:53 pm
Reply with quote

Hi Gautam thankyou for your kind reply
Back to top
View user's profile Send private message
saithvis2

New User


Joined: 23 Dec 2005
Posts: 61
Location: Providence , US

PostPosted: Thu Jan 05, 2006 2:57 pm
Reply with quote

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
View user's profile Send private message
Gautam512

Active User


Joined: 05 Oct 2005
Posts: 308
Location: Vizag / US

PostPosted: Thu Jan 05, 2006 3:07 pm
Reply with quote

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

Code:
ONLY EMP-ID WORD
on the command line.

It shows only the occurences of EMP-ID
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts SCOPE PENDING option -check data DB2 2
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
Search our Forums:

Back to Top