Edit members of a PDS.

File-AID from Compuware and File Manager from IBM.
Previous topicNext topic

Topic Author
Binamra
Registered Member
Posts: 41
Joined: Mon Jun 17, 2013 10:42 pm
Zodiac: Sagittarius

Edit members of a PDS.

Post by Binamra » Fri Dec 27, 2013 12:53 pm

Hi,

Because of testing in test region during system testing phase, I need to change a some characters of a PDS members every month. For one or two members I can do it manually but I've a PDS around 100+ members. I'm not very well versed with REXX so thinking if I can do it using File-aid? I recall in another company I've done a similar thing but I don't recall the options now. Can someone please help.



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1379
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: Edit members of a PDS.

Post by Robert Sample » Mon Dec 30, 2013 2:46 am

Depending upon the precise details of what you want to do, it may -- or may not -- be possible with File Aid. Reading the manual will tell you what File Aid can do, and if your site is licensed for File Aid then you have access to the manuals.



User avatar

Anuj Dhawan
Founder
Posts: 2624
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Zodiac: Sagittarius

Re: Edit members of a PDS.

Post by Anuj Dhawan » Tue Dec 31, 2013 11:57 am

Binamra wrote:Hi,

Because of testing in test region during system testing phase, I need to change a some characters of a PDS members every month. For one or two members I can do it manually but I've a PDS around 100+ members. I'm not very well versed with REXX so thinking if I can do it using File-aid? I recall in another company I've done a similar thing but I don't recall the options now. Can someone please help.
There is a way of doing it by selecting different menus available in file-Aid panels, however the procedure is bit lengthy to explain using a Forum, however, you can still use the following batch file-aid to do what you want to do:

Code: Select all

//STEP001  EXEC PGM=FILEAID                              
//SYSUDUMP DD SYSOUT=*                                 
//SYSPRINT DD SYSOUT=*                                  
//SYSLIST  DD SYSOUT=*                                  
//SYSTOTAL DD SYSOUT=*                                  
//DD01     DD DSN=your.pds.name,DISP=SHR  
//SYSIN    DD *                                          
$$DD03 UPDATE ME=9999,EA=(1,0,T"//aaaa",C"//bbbb") 
/*    
The above updates //aaaa to //bbbb in the members of a PDS . In above - "ME" represents MEMBERS (of a PDS). EA represents 'Edit All', used with UPDATE batch command of File-Aid. "1,0" represents from 1[sup]st[/sup] byte to the end of record.

Hoe this helps.


Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.


Topic Author
Binamra
Registered Member
Posts: 41
Joined: Mon Jun 17, 2013 10:42 pm
Zodiac: Sagittarius

Re: Edit members of a PDS.

Post by Binamra » Fri Mar 28, 2014 12:37 am

Thanks Anuj. This is useful and worked.`



User avatar

Anuj Dhawan
Founder
Posts: 2624
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Zodiac: Sagittarius

Re: Edit members of a PDS.

Post by Anuj Dhawan » Fri Mar 28, 2014 12:50 am

Thanks for the feedback, appreciate that. :)


Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.

Previous topicNext topic

Return to “File-AID and IBM File Manager.”