Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Want to know about SEARCH FOR option in ispf ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Want to know about SEARCH FOR option in ispf ?
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: 309
Location: Vizag / US

PostPosted: Wed Jan 04, 2006 12:01 pm    Post subject: Re: Want to know about SEARCH FOR option in ispf ?
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    Post subject: Re: Want to know about SEARCH FOR option in ispf ?
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    Post subject: Re: Want to know about SEARCH FOR option in ispf ?
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: 309
Location: Vizag / US

PostPosted: Thu Jan 05, 2006 3:07 pm    Post subject: Re: Want to know about SEARCH FOR option in ispf ?
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Conditional highlighting of rows in I... packerm CLIST & REXX 2 Thu Sep 21, 2017 6:50 pm
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us