Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us