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

References:

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: 3409
Joined: Sat Jun 09, 2007 8:58 am

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

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
Global moderator
 
Posts: 145
Joined: Mon Feb 25, 2008 3:53 am
Location: Earth

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

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: 3409
Joined: Sat Jun 09, 2007 8:58 am

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


Return to File-AID

Who is online

Users browsing this forum: No registered users and 1 guest

cron