How to copy files via file-aid



Compuware's data management products: File-AID for IMS, File-AID/MVS, File-AID for DB2 and DBA-XPERT for DB2

How to copy files via file-aid

Postby mail2mz » Sat Jan 23, 2010 6:42 am

Hello,

Can I copy all other members except for certain ones in the dataset via file-aid? For example, I have more than 1000 members in the datasets, there are about 200 members have the name as nfgxxxxxx. How can I use file aid to copy all members except those with the name as nfgxxxxxx?

Currently, I am using the following JCL to copy the members with nfgxxxxxx to the new dataset:

$$D01 copy NEWMEM=------,
MRBNAME = (nfg, nfg)
.....

Now I want copy all members other than nfgxxxxxx to a new dataset.

Thanks,

Mike
mail2mz
 
Posts: 2
Joined: Sat Jan 23, 2010 6:35 am
Has thanked: 0 time
Been thanked: 0 time

Re: How to copy files via file-aid

Postby dick scherrer » Sat Jan 23, 2010 9:41 am

Hello and welcome to the forum,

You might copy everything and then delete the nfg members from the new dataset. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: How to copy files via file-aid

Postby mail2mz » Sun Jan 24, 2010 1:28 am

That will be an option. Do you know how to delete the nfg members via fileaid on JCL batch?

Thanks,
mail2mz
 
Posts: 2
Joined: Sat Jan 23, 2010 6:35 am
Has thanked: 0 time
Been thanked: 0 time

Re: How to copy files via file-aid

Postby Anuj Dhawan » Wed Feb 10, 2010 6:28 pm

I want copy all members other than nfgxxxxxx to a new dataset.
Do ther other members also follow some pattern?
Anuj
Anuj Dhawan
 
Posts: 273
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times

Re: How to copy files via file-aid

Postby TerMiller1 » Thu Mar 11, 2010 3:01 am

$$DD01 COPY NEWMEM=------,MRBNAME = (,NFF99999)
$$DD01 COPY NEWMEM=------,MBRNAME=(NFH,Z9999999)

Should skip all NFG* members.
TerMiller1
 
Posts: 2
Joined: Thu Mar 11, 2010 2:47 am
Has thanked: 0 time
Been thanked: 0 time

Re: How to copy files via file-aid

Postby dick scherrer » Thu Mar 11, 2010 3:17 am

Hello Terry(?) and welcome to the forum,

Thanks for posting :)

Hopefully, you will find some things that are useful also. . .

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: How to copy files via file-aid

Postby TerMiller1 » Thu Mar 11, 2010 4:10 am

$$DD01 COPY NEWMEM=------,MRBNAME = (,NFFZ)
$$DD01 COPY NEWMEM=------,MBRNAME=(NFH,Z)

File-Aid checks membernames using ASCII for member character comparisons at our site. It might be a site-specifi system installation setting for File-Aid. I don't know for sure.
This would work better to skip all NFG* members if File-Aid is using the ASCII collating sequence for membername characters.

Terry
TerMiller1
 
Posts: 2
Joined: Thu Mar 11, 2010 2:47 am
Has thanked: 0 time
Been thanked: 0 time

Re: How to copy files via file-aid

Postby ritikasingh » Tue Oct 05, 2010 8:16 pm

Hi,

Seems the question was asked long back, posting reply as this may also help other people..

In fileaid 3.3 option which is used to copy data set, there you can specify the criteria using temporary search.
The filter can be used either directly using the copylib or if you know the location of commom string you can include or exclude.


Thanks..
ritikasingh
 
Posts: 39
Joined: Wed Sep 01, 2010 9:12 pm
Has thanked: 0 time
Been thanked: 0 time


Return to File-AID

 


  • Related topics
    Replies
    Views
    Last post