View previous topic :: View next topic
|
Author |
Message |
vbhat
New User
Joined: 29 Apr 2005 Posts: 38
|
|
|
|
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 |
|
|
maverick05
New User
Joined: 14 Apr 2005 Posts: 54 Location: Earth
|
|
|
|
Just open the PDS and use SCAN 'variable-name'
Thanks
Venkat |
|
Back to top |
|
|
notonly4u
New User
Joined: 26 Apr 2005 Posts: 87 Location: Hyderabad
|
|
|
|
Or else try to give
TSO FINDTEXT <Variable Name>
Regards
Tanden |
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
Use option 3;14. There give the required information. |
|
Back to top |
|
|
bhbentley
New User
Joined: 28 Jun 2005 Posts: 1
|
|
|
|
Where can I find the REXX/CLIST named FINDTEXT ?
Thanks,
Bruce Bentley |
|
Back to top |
|
|
mainframesguru
New User
Joined: 24 Jun 2005 Posts: 36 Location: Hyderabad
|
|
|
|
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 |
|
|
shivashunmugam Muthu
Active User
Joined: 22 Jul 2005 Posts: 114 Location: Chennai
|
|
|
|
3.14 search is the best option. Please try that.... |
|
Back to top |
|
|
bonniem
New User
Joined: 09 Aug 2005 Posts: 67
|
|
|
|
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 |
|
|
HIRAKI81
New User
Joined: 17 Aug 2005 Posts: 5
|
|
|
|
You can also try the option 3.15 Extended Search |
|
Back to top |
|
|
spanda
New User
Joined: 31 Aug 2005 Posts: 48 Location: U.K.
|
|
|
|
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 |
|
|
spanda
New User
Joined: 31 Aug 2005 Posts: 48 Location: U.K.
|
|
|
|
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 |
|
|
|