Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
Posted: Tue Jan 14, 2003 12:40 am Post subject: Invoking SUPERC search utility thru' JCL
1) I have a JCL which invokes the SUPERC search to search a string in different PDSs. When I saw the output I found that if same member name is found in the different PDS (concatenated PDS) then SUPERC search ignores the second one. I would like to know, whether we need to pass some parameters to the ISRSUPC so that it searches the duplicate members also.
2) Another question, Can we use this search to search in a PS which is not a member of any PDS ie something like
'RJE355D$.R010.SORTOUT6.OUTPUT'. In that case, how and where to specify the PS name.
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
Posted: Tue Jan 14, 2003 1:45 am Post subject:
1) Use the SDUPM process option. You can see the process options in option 3.15. Generate JCL as needed and look at it from there. Process options are specified with the P primary command or from some pulldown (I don't know which one - I always use the P command).
2) I'm not sure about sequential searches. I would thing it would work the same way. I know compare can be done in sequential files and compare uses the same ddnames as search.
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
Posted: Thu Jan 16, 2003 1:48 am Post subject:
Hi semigeezer,
I tried the option 'SDUPM' and It did Work. Thanks. But I get a RC=16 when I specify the PS name in the DD name where we provide the PDS Names. It says invalid PDS name specified.
Can someone pls. tell me how to include PS (Not a Member) in SUPER-C Search.
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
Posted: Thu Jan 16, 2003 2:12 am Post subject:
The doc doesn't reference doing this and I've never heard mention of it before. What are you trying to do with this exactly? See strings in context? If so, you may want to just use the FINDX macro.
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
Posted: Thu Jan 16, 2003 3:03 am Post subject:
Actually, I was a little fascinated by the GUI features (PANELS) available in REXX, b'cas I like to do GUI related stuff (especially in JAVA Swings).
What I did is that I have a PANEL in which the user can specify the list of PDS to be searched and the search string. I wrote a program myself to open all the pds and search all the members for that string but found it to be very slow. Thats why I moved to SUPERC search. But I don't want my GUI features to go unused. So Now, I am trying to get the input the user as it is now, but internally I use the SUPERC to search the string(Since, it is very fast) and then format the output of the search and display it in a tabular format to the user via another PANEL. the output would look like this :
Code:
_ ENTER '/' TO OPEN DATASET AND VIEW
------------------------------------------------------------------------------
SNO DIRECTORY MEMBER LINENO
------------------------------------------------------------------------------
1. TSONJAY.REXX ADD 1
2. TSONJAY.REXX.BACKUP AFIND 28
3. TSONJAY.REXX.BACKUP AFIND 31
......
Now when the User selects any one of the row my program will display the actual line where the text is found in that MEMBER as a preview, below the table. And, if the user enters a '/' in the input field and chooses a row from the table then the program will open the MEMBER in view mode and position the cursor on the line (line no which is displayed in the row selected) and hilight the search string. (Just a User Friendly type of output).
In the existing code, Suppose U enter 'TSONJAY.REXX.*' it will list all the PDS & PS starting will the 'TSONJAY.REXX' and the user may choose the PDS which he want to search. The screen would look like
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum