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
mail2mz
Posts: 2
Joined: Sat Jan 23, 2010 6:35 am
Skillset: cics
Referer: web serach

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

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

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.

mail2mz
Posts: 2
Joined: Sat Jan 23, 2010 6:35 am
Skillset: cics
Referer: web serach

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,

Anuj Dhawan
Posts: 272
Joined: Mon Feb 25, 2008 3:53 am
Skillset: None
Referer: Google
Location: Mumbai, India

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

TerMiller1
Posts: 2
Joined: Thu Mar 11, 2010 2:47 am
Skillset: Mainframe
Referer: Google Search - I have an answer

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.

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 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

TerMiller1
Posts: 2
Joined: Thu Mar 11, 2010 2:47 am
Skillset: Mainframe
Referer: Google Search - I have an answer

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

ritikasingh
Posts: 39
Joined: Wed Sep 01, 2010 9:12 pm
Skillset: Operating Systems: MVS
Environment: Mainframe, Windows
Databases: VSAM, DB2 Tables
Programming Languages: COBOL, JCL,TSO/ISPF, CICS, DB2 (SQL),
Software Tools: File-AID, Endeavor, SORT, ICETOOL, SNDM, HP Quality Center,
OPC, DRMS,IDCAMS, SMARTIS, VISIO, Vision plus, HP(Service Manager),TSO,ISPF
Referer: google

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..


  • Similar Topics
    Replies
    Views
    Last post