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: 6966
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: 6966
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 Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm
This topic is locked: you cannot edit posts or make replies. output data in CSV Format janmejay DFSORT/ICETOOL 3 Sat Oct 15, 2016 2:16 pm


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