Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 8593
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: 6968
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: 8593
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: 6968
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 Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts BI,TO=ZD Changing Values Tyler Dunbar DFSORT/ICETOOL 4 Tue Jul 25, 2017 12:12 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts JES2 doesn't honor the priority of th... Aron Lendvai JCL & VSAM 8 Thu Jun 29, 2017 1:41 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us