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
 

 

Member names of PDS which don't hav 2strings using SyncSort

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

New User


Joined: 13 May 2011
Posts: 29
Location: India

PostPosted: Tue May 17, 2011 7:18 pm    Post subject: Member names of PDS which don't hav 2strings using SyncSort
Reply with quote

Hi All,

I have a requirement to list those member names od specified PDS which doesn't have 2 strings in same line.

For example:

2 strings can be like "SPACE" and "RLSE"

Output should have those members which have a line like "SPACE XXXXXXXXX" (if atleast one line is present)
but it should not have those members which have a line like "SPACE XXXX RLSE"
Output should display only those members which have at least one "XXXX SPACE XXXX XXXX" (SPACE is present without a RLSE in the same line)

Any help would be really appreciated
Back to top
View user's profile Send private message

Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Tue May 17, 2011 7:41 pm    Post subject:
Reply with quote

If you have PDSMAN the PDSM18 program can do this.

Fileaid is probably another good candidate
Back to top
View user's profile Send private message
hemu88

New User


Joined: 13 May 2011
Posts: 29
Location: India

PostPosted: Tue May 17, 2011 8:06 pm    Post subject: Reply to: Member names of PDS which don't hav 2strings using
Reply with quote

Thanks for your reply Pete. Option 7 of PDSM suits for this better.

Is there a way to this in batch job?
Back to top
View user's profile Send private message
hemu88

New User


Joined: 13 May 2011
Posts: 29
Location: India

PostPosted: Wed May 18, 2011 3:26 pm    Post subject: Reply to: Member names of PDS which don't hav 2strings using
Reply with quote

let me re-phrase my requirement.

If there is a STRING1, then there should be STRING2 in the same line.

if there is STRING1 and there is no STRING2 in the same line then the member name should output. (if atleast one line is present also)
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 member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 7 Sat Jan 21, 2017 4:02 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am


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