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
 

 

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
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm


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