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
 
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: 446
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 Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Copying a ps to member of a existing PDS Deepika Chikyala JCL & VSAM 10 Tue Sep 05, 2017 11:44 am
No new posts RFE: DB2 support for mixed case names. Pedro DB2 0 Tue Jul 04, 2017 1:32 am
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

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