Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Changing Search Output

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ozgurseyrek

New User


Joined: 22 Feb 2008
Posts: 70
Location: Turkey

PostPosted: Fri Aug 21, 2009 2:12 pm    Post subject: Changing Search Output
Reply with quote

Hello,
I Want to change search output (ISRSUPC). (I am searching STRINGXXX at a PDS)


Code:
 PDSMEM01                    --------- STRING(S) FOUND ----------------
                                                                       
     19  //DD01     DD    DISP=SHR,DSNAME=STIRNGXXX                     


Is it possible to list outputs at same line (member name and founded line at same line)

like that;
Code:
  PDSMEM01     19  //DD01     DD    DISP=SHR,DSNAME=STIRNGXXX           


thanks.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8631
Location: Back in jolly old England

PostPosted: Fri Aug 21, 2009 2:29 pm    Post subject:
Reply with quote

Not that I am aware of - you would probably need a small REXX script of maybe a SORT process to give you what you need.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Aug 21, 2009 2:45 pm    Post subject:
Reply with quote

What if you get mulitple entries for the STRINGXXX in a single member, what output do you expect?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Fri Aug 21, 2009 2:56 pm    Post subject:
Reply with quote

the IDPFX parm will index each output line with the member/dsn.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Aug 21, 2009 3:15 pm    Post subject:
Reply with quote

Hi Dick,

That was a good tip for me, Thanks.

When there were mulitple entries for the STRINGXX in a single member, I got
Code:
XXD601C      572  //XXXXJOB  DD DSN=&DATALB(STRINGXX),
XXD601C     1124  //XXXXJOB  DD DSN=&DATALB(STRINGXX)),
that is, member name was repeated as many times as many times search-string was there.

Thanks 'gain,

Regards,
Anuj
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8631
Location: Back in jolly old England

PostPosted: Fri Aug 21, 2009 3:20 pm    Post subject:
Reply with quote

dbzTHEdinosauer wrote:
the IDPFX parm will index each output line with the member/dsn.

Good shot sir, much appreciated.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Fri Aug 21, 2009 3:23 pm    Post subject:
Reply with quote

Quote:
Good shot sir, much appreciated


kudos go to koluso; he showed me this a couple of years ago.

makes scraping superc output very easy.
Back to top
View user's profile Send private message
ozgurseyrek

New User


Joined: 22 Feb 2008
Posts: 70
Location: Turkey

PostPosted: Fri Aug 21, 2009 3:35 pm    Post subject:
Reply with quote

IDPFX parameter does what I want exactly,
thanks...
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
No new posts Utility for search operation Gopalakrishna551 TSO/ISPF 11 Wed Jan 03, 2018 11:07 am
No new posts TBSARG - Deleting the search criteria... ISPFHerc TSO/ISPF 6 Thu Dec 14, 2017 8:18 am
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
No new posts Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us