IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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 Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Tue May 17, 2011 7:41 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts Capturing COBOL job and program names... All Other Mainframe Topics 2
Search our Forums:

Back to Top