Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to process members by member name in FILE-AID?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Thu Sep 25, 2008 10:44 pm    Post subject: How to process members by member name in FILE-AID?
Reply with quote

I'm trying to update some members in PDS separately by member name. For instance:

in the PDS, I have 20 members' names start with AAAA. (AAAA--icon_cool.gif
30 members' names start with BBBB. (BBBB--icon_cool.gif,
40 members' names start with CCCC. (CCCC--icon_cool.gif;

I want to update members AAAA---- and CCCC---- together.

I can't use "mask" in parameter "MEMBER", "MEMBERS" allows "mask" but it doesn't allow multi-value in it; "MBRNAME" could specify a range but I don't want BBBB---- to be processed.

Thanks,
Galen
Back to top
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Fri Sep 26, 2008 4:24 am    Post subject:
Reply with quote

Hi,

what's wrong with using 2 statements ie.

Code:
$$DD01 UPDATEALL MEMBERS=AAAA----,

$$DD01 UPDATEALL MEMBERS=CCCC----,





Gerry
Back to top
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Fri Sep 26, 2008 8:29 am    Post subject:
Reply with quote

gcicchet wrote:
Hi,

what's wrong with using 2 statements ie.

Code:
$$DD01 UPDATEALL MEMBERS=AAAA----,

$$DD01 UPDATEALL MEMBERS=CCCC----,





Gerry


Thanks for ur reply, Yes, it will work, however it is just an example, actually I wanna separate hundreds members into different group, and each group is having many name-criteria, and each group has many many EDITALL statements in it, I don't want to repeat them too many times.

Thanks,
Galen
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Fri Sep 26, 2008 8:47 am    Post subject:
Reply with quote

Hi,

you can create the like statements as members of a PDS
and use it like below

Code:
//SYSIN    DD *                                   
$$DD01 UPDATEALL MEMBERS=AAAA----,               
/*                                               
//         DD DSN=DSN(MEM1),DISP=SHR             
$$DD01 UPDATEALL MEMBERS=CCCC----,               
/*                                               
//         DD DSN=DSN(MEM1),DISP=SHR             
$$DD01 UPDATEALL MEMBERS=EEEE----,               
/*                                               
//         DD DSN=DSN(MEM2),DISP=SHR             



Gerry
Back to top
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Fri Sep 26, 2008 1:13 pm    Post subject:
Reply with quote

gcicchet wrote:
Hi,

you can create the like statements as members of a PDS
and use it like below

Code:
//SYSIN    DD *                                   
$$DD01 UPDATEALL MEMBERS=AAAA----,               
/*                                               
//         DD DSN=DSN(MEM1),DISP=SHR             
$$DD01 UPDATEALL MEMBERS=CCCC----,               
/*                                               
//         DD DSN=DSN(MEM1),DISP=SHR             
$$DD01 UPDATEALL MEMBERS=EEEE----,               
/*                                               
//         DD DSN=DSN(MEM2),DISP=SHR             



Gerry


Thx a lot!
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Fri Sep 26, 2008 1:25 pm    Post subject:
Reply with quote

Hi,

my previous code was not correct

it should be like this
Code:
//SYSIN    DD *                                   
$$DD01 UPDATEALL MEMBERS=AAAA----,               
/*                                               
//         DD DSN=DSN(MEM1),DISP=SHR     
//         DD *         
$$DD01 UPDATEALL MEMBERS=CCCC----,               
/*                                               
//         DD DSN=DSN(MEM1),DISP=SHR   
//         DD *         
$$DD01 UPDATEALL MEMBERS=EEEE----,               
/*                                               
//         DD DSN=DSN(MEM2),DISP=SHR   



Gerry
Back to top
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Tue Oct 07, 2008 12:42 pm    Post subject:
Reply with quote

gcicchet wrote:
Hi,

my previous code was not correct

it should be like this
Code:
//SYSIN    DD *                                   
$$DD01 UPDATEALL MEMBERS=AAAA----,               
/*                                               
//         DD DSN=DSN(MEM1),DISP=SHR     
//         DD *         
$$DD01 UPDATEALL MEMBERS=CCCC----,               
/*                                               
//         DD DSN=DSN(MEM1),DISP=SHR   
//         DD *         
$$DD01 UPDATEALL MEMBERS=EEEE----,               
/*                                               
//         DD DSN=DSN(MEM2),DISP=SHR   



Gerry


Thank you.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us