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 SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm


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