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

Exclude selected* members while File aid copy


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
samagar

New User


Joined: 10 Jul 2014
Posts: 1
Location: India

PostPosted: Thu Jul 10, 2014 8:35 pm
Reply with quote

# I need to exclude selected* PDS members while copying in file-aid batch.
# The exclusion is based on particular strings presence inside the source PDS member.
#Member should be copied only when the mentioned string is NOT present in the source PDS member.

JCL :-

SYSIN DD *
$$DD01 COPYMEM IF=(1,0,C'&PLIB')
MEMBERS=*
OUT=0
This will copy PDS member if my string '&PLIB' is present. i need reverse as in copy when this string is not present. Such option is not available when we search whole line i.e EQ or NE in --> IF=(1,0,C'STR')

I tried using USER function however it only drops the line from the member and copy it. I need to drop member it self. Same is case with DROP.

Please suggest.
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 -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top