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

In ISPF i have a data set abc.xyz.adb


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vbhat

New User


Joined: 29 Apr 2005
Posts: 38

PostPosted: Mon Jun 06, 2005 11:16 am
Reply with quote

In ISPF i have a data set abc.xyz.adb

it is having more than 300 members and in this 300 members i have a variable ws-var1 ? how how can i search that variable?and pls help me

thanks

vbhat
Back to top
View user's profile Send private message
maverick05

New User


Joined: 14 Apr 2005
Posts: 54
Location: Earth

PostPosted: Mon Jun 06, 2005 7:44 pm
Reply with quote

Just open the PDS and use SCAN 'variable-name'

Thanks
Venkat
Back to top
View user's profile Send private message
notonly4u

New User


Joined: 26 Apr 2005
Posts: 87
Location: Hyderabad

PostPosted: Mon Jun 06, 2005 7:51 pm
Reply with quote

Or else try to give

TSO FINDTEXT <Variable Name>

Regards
Tanden
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Mon Jun 06, 2005 7:57 pm
Reply with quote

Use option 3;14. There give the required information.
Back to top
View user's profile Send private message
bhbentley

New User


Joined: 28 Jun 2005
Posts: 1

PostPosted: Tue Jun 28, 2005 11:46 pm
Reply with quote

Where can I find the REXX/CLIST named FINDTEXT ?
Thanks,
Bruce Bentley
Back to top
View user's profile Send private message
mainframesguru

New User


Joined: 24 Jun 2005
Posts: 36
Location: Hyderabad

PostPosted: Mon Aug 08, 2005 8:55 am
Reply with quote

Hi Venkat and Tanden,

I tried TSO FINDTEXT 'string' and SCAN 'string'
but the error message displayed is "Invalid COmmand".

I used these commands at command prompt after opening the PDS.

Please advise as to where and how it needs to be used.

Thanks And Regards
Vamshi
ICC-ISH
Chennai.
Back to top
View user's profile Send private message
shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Mon Aug 08, 2005 9:16 am
Reply with quote

3.14 search is the best option. Please try that....
Back to top
View user's profile Send private message
bonniem

New User


Joined: 09 Aug 2005
Posts: 67

PostPosted: Tue Aug 09, 2005 11:26 am
Reply with quote

Hi,

You can use 2 options
1. Take option 3.14 and give the search string. Give the pds name and put a * in brackets to search all members. like 'abc.xyz.adb(*)'. Press enter to start the search.

2. take ISPF mainmenu and type ez. The ezyedit screen will come where you can type the name of the PDS and select it using the number assigned to it. Here you can use "scan <variables name>.
Note: Not all shops have EZYEDIT. If it is not there, then use the first option.
Back to top
View user's profile Send private message
HIRAKI81

New User


Joined: 17 Aug 2005
Posts: 5

PostPosted: Wed Aug 17, 2005 5:48 pm
Reply with quote

You can also try the option 3.15 Extended Search
Back to top
View user's profile Send private message
spanda

New User


Joined: 31 Aug 2005
Posts: 48
Location: U.K.

PostPosted: Thu Sep 01, 2005 2:06 pm
Reply with quote

Hi,

SCAN is a CA-PANVALET command for ISPF libraries, so if you don't have this tool installed at your site, then you will obviously get the 'Invalid command' message. Similarly Findtext may be a user written REXX or CLIST utility, which you will need to have in your SYSPROC or SYSEXEC concatenated dataset for the TSO command to work. You can write one yourself or get such a utility from one of the freebie sites.

To search a string in an ISPF dataset the simplest way is to run the Search-For utility (=3.14) or the Extended version of this utility (=3.15).

HTH,
Panda.
Back to top
View user's profile Send private message
spanda

New User


Joined: 31 Aug 2005
Posts: 48
Location: U.K.

PostPosted: Tue Sep 06, 2005 3:44 pm
Reply with quote

Following my previous post, may I bring to notice, another option for searching multiple datasets for a string. ISPF under z/OS provides for the SRCHFOR primary command which can be used from the command line at the DSLIST view.

Basically, you can invoke option 3.14, just by typing SRCHFOR (can be in lower case) in the command line along with the search string and a panel pops up, where additional options can be entered.

Hope this helps,
Panda.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 2
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top