View previous topic :: View next topic
|
Author |
Message |
himanshu7
Active User
Joined: 28 Aug 2007 Posts: 131 Location: At Desk
|
|
|
|
Hi All,
Can we create a rexx tool to extract all the file name which start with &xxx.abc from a PDS which has n number of proc(mem) using those file name.
I mean i want to scan the PDS for the Particular file Name. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
The answer, I think, is yes, but why can't you use a SUPERC search to obtain the same results? |
|
Back to top |
|
|
himanshu7
Active User
Joined: 28 Aug 2007 Posts: 131 Location: At Desk
|
|
|
|
I have done that however I just want to filter out all the unnecessary which comes along with the SUPC o/p.
I mean i want to somehow automate the tool and after scanning i want to take those o/p files for further processing and not the entire data which comes along with the SUPC. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
Please clarify what you mean by 'file name'. I suspect you mean DD name, but you might also mean dataset name. |
|
Back to top |
|
|
himanshu7
Active User
Joined: 28 Aug 2007 Posts: 131 Location: At Desk
|
|
|
|
Hi Pedro,
I mean the Dataset name |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
Back to top |
|
|
himanshu7
Active User
Joined: 28 Aug 2007 Posts: 131 Location: At Desk
|
|
|
|
Hi Enrico,
I have got but still trying to get it through REXX tool as well.. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can invoke SUPERC from within REXX, then manipulate OUTDD from the same REXX.
O. |
|
Back to top |
|
|
himanshu7
Active User
Joined: 28 Aug 2007 Posts: 131 Location: At Desk
|
|
|
|
Hi,
Invoking supc from rexx will get the other values as well in which im not interested.
I want toget only the file name. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
look like You do not care to understand what is being suggested
proceed like in the dfsort case
instead of processing the result with sort process it with rexx |
|
Back to top |
|
|
himanshu7
Active User
Joined: 28 Aug 2007 Posts: 131 Location: At Desk
|
|
|
|
Thank you guys!!!!
I have created a DFSORT tool to achieve the same.... |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
himanshu7 wrote: |
I have done that however I just want to filter out all the unnecessary which comes along with the SUPC o/p.
I mean i want to somehow automate the tool and after scanning i want to take those o/p files for further processing and not the entire data which comes along with the SUPC. |
ISRSUPC has some options that allows you to minimize most of the "unnecessary":- IDPFX Identifier prefixed. ID or member-name is prefixed to the search string lines of the listing.
- NOPRTCC No printer control columns... NOPRTCC eliminates both the page separators and control column 1.
- NOSUMS No summary listing section. This option omits the summary section including the statistics, options, warning, and error messages from the listing output.
|
|
Back to top |
|
|
|