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: 437
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 Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am


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